mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	reviewers/approvers may be set in draft status
This commit is contained in:
		
							parent
							
								
									3244f20dcc
								
							
						
					
					
						commit
						6e75dd9c44
					
				|  | @ -144,7 +144,7 @@ class SeedDMS_AccessOperation { | |||
| 					if($r['status'] == 1 || $r['status'] == -1) | ||||
| 						$hasapproval = true; | ||||
| 				} | ||||
| 				if ((($this->settings->_enableVersionModification && ($document->getAccessMode($this->user) == M_ALL)) || $this->user->isAdmin()) && (($status["status"]==S_DRAFT_REV && !$hasreview) || ($status["status"]==S_DRAFT_APP && !$hasreview && !$hasapproval))) { | ||||
| 				if ((($this->settings->_enableVersionModification && ($document->getAccessMode($this->user) == M_ALL)) || $this->user->isAdmin()) && (($status["status"]==S_DRAFT_REV && !$hasreview) || ($status["status"]==S_DRAFT_APP && !$hasreview && !$hasapproval) || $status["status"]==S_DRAFT)) { | ||||
| 					return true; | ||||
| 				} | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann