mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	recipients can be set, even if document was not released
This commit is contained in:
		
							parent
							
								
									0a256bde29
								
							
						
					
					
						commit
						fc688441ad
					
				|  | @ -165,7 +165,7 @@ class SeedDMS_AccessOperation { | |||
| 		if(get_class($document) == $this->dms->getClassname('document')) { | ||||
| 			if($latestContent = $document->getLatestContent()) { | ||||
| 				$status = $latestContent->getStatus(); | ||||
| 				if ((($this->settings->_enableVersionModification && ($document->getAccessMode($this->user) >= M_READWRITE)) || $this->user->isAdmin()) && ($status["status"]==S_RELEASED)) { | ||||
| 				if (($this->settings->_enableVersionModification && ($document->getAccessMode($this->user) >= M_READWRITE)) || $this->user->isAdmin()) { | ||||
| 					return true; | ||||
| 				} | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann