Deletion rights only for project manager and administrators - business process
Hello
I have created a business process that reads in the creation and modification of a project id and project manager,
I then wanted to change the permissions so that only the project manager could delete it, but during the execution of the process the values still remain on true
What could be the reason for this? I run the process as an administrator and the delete test is run on a user who does not have these permissions. The way it should work is that no one but the administrator should be able to delete projects.
even though the process is executed, the value remains true
"Parametr": "List of rights to delete", "Wartość": { "Before execution": "[{Id:\"54e9e783-704b-4d77-b621-d8054d39f52a\",ParameterName:\"Role1\",Name:\"All employees.a29a3ba5-4b0d-de11-9a51-005056c00008\",CanRead:true,CanEdit:true,CanDelete:true,Source:\"3\",Grantee:\"Role\",Value:\"[#Lookup.84f44b9a-4bc3-4cbf-a1a8-cec02c1c029c.a29a3ba5-4b0d-de11-9a51-005056c00008#]\"}]", "After execution": "[{Id:\"54e9e783-704b-4d77-b621-d8054d39f52a\",ParameterName:\"Role1\",Name:\"All employees.a29a3ba5-4b0d-de11-9a51-005056c00008\",CanRead:true,CanEdit:true,CanDelete:true,Source:\"3\",Grantee:\"Role\",Value:\"[#Lookup.84f44b9a-4bc3-4cbf-a1a8-cec02c1c029c.a29a3ba5-4b0d-de11-9a51-005056c00008#]\"}]" }
Like
Are you sure the remaining access rights for All employees role is not "Deny"? I believe that process element won't technically remove the access rights, you'll still see it there but will be "deny" instead of allow.
Hello!
I created a similar business process and successfully ran it.
The process worked correctly, and I’m attaching screenshots as proof.
You can also set the field "Which access rights to add?" to "All employees—Restrict", and the process should work as you expect.
In my example, I did exactly that, and I’m attaching the screenshots:
The reason why permissions are not changing as expected might be due to incorrect configuration of the "Change Access Rights" element in the business process. Please review the configuration of this element and ensure that the correct conditions and access rights are specified.
If everything seems correct, please create a support request by contacting support@creatio.com.
We will review the issue and assist with a solution.
Regards,
Orkhan
I was able to successfully set the rights for the employees according to the instructions; interestingly enough, the rights edit page does not show that anything has changed.