Hi all, I have created a ContentApproval Workflow in my AEM and want to allow only a certain number of users to be able to acess that workflow and complete it. Rest all users should not be able to access the specific workflow.
How can I do this?
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Steps:
1. Applying the deny permission to the workflow model path "/var/workflow/models/<custom-workflow-folder-name>/<custom-workflow-name>" or "/var/workflow/models/<custom-workflow-name>" depending on where you have created the workflow for a particular group.
2. Assign the group created to those set of user whom you which to restrict.
Now if you log in from a specific user, you will not be getting the option for selecting this model.
Second, even if there is any customization that the workflow can be triggered by the click of the button on the AEM UI, then you will be getting the error in the backend, that the workflow can not be started due to insufficient permissions.
Thanks
Configure ACLs according to user accounts to allow (or disable) starting, and participating in, workflows.
Tried the steps mentioned in this doc no success
1. Will these users be part of same user group? If yes then, are you planning assign to whole group or individual user?
2. Once you trigger ContentApproval approval workflow then how do you want to sent the notification to those users?
1.The users will be part of same group.
2.Through the notification in inbox
If these users are responsible to do content review then you need to think about both approve and reject.
Add a participant step and add that user group like the below one -
They will be getting notification in their inbox once workflow steps will make progress.
Hi,
Steps:
1. Applying the deny permission to the workflow model path "/var/workflow/models/<custom-workflow-folder-name>/<custom-workflow-name>" or "/var/workflow/models/<custom-workflow-name>" depending on where you have created the workflow for a particular group.
2. Assign the group created to those set of user whom you which to restrict.
Now if you log in from a specific user, you will not be getting the option for selecting this model.
Second, even if there is any customization that the workflow can be triggered by the click of the button on the AEM UI, then you will be getting the error in the backend, that the workflow can not be started due to insufficient permissions.
Thanks