mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-30 16:58:41 +00:00 
			
		
		
		
	Fix condition for checking if the user is allowed to edit a document attached to a workflow
This commit is contained in:
		| @@ -28,8 +28,8 @@ class WorkflowStoredObjectPermissionHelper | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
|             if ($workflow->getCurrentStep()->getAllDestUser()->contains($currentUser)) { | ||||
|                 return true; | ||||
|             if (!$workflow->getCurrentStep()->getAllDestUser()->contains($currentUser)) { | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user