Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to set permissions on workflow models to a specific user group?

jezwn
Level 4
Level 4

Let's say I have a user group x with minimal permissions which needs to trigger a workflow y. Currently the group permissions are,
Capture.PNG

 

So if I try to start the workflow from the sites, selecting the page --> Create --> Workflow, in select the workflow models dropdown OOTB models are also being listed. I want the dropdown list to be restricted to only the workflow y, which I created. So how can I set the required permissions!

workflow
1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

You can also achieve the given use case by implementing Workflow: System tag on the model. This will allow you to hide default workflows and display custom workflows in the Start Workflow list in the AEM Sites and Assets UI. See [0] for more details.

 

Steps:

Workflow models are hidden by setting Workflow: System tag on the model.

  1. Go to the Workflow Models console: http://host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models
  2. Click Page Properties on the AEM Sidekick.
  3. Add Workflow: System tag into Tags/Keywords.
  4. Remove Workflow: WCM tag (and other tags) from Tags/Keyword if any.
  5. Click the OK button.
  6. Click the Save button in the top left of the editor page.

[0]: https://helpx.adobe.com/in/experience-manager/kb/hide-workflow-models-start-workflow-list.html

View solution in original post

5 Replies
jezwn
Level 4
Level 4
For the models folder the permission was set to deny for jcr:read and for inside one folder set the permission as allow. But it ain't showing up. The rule is to deny all and allow specific right!
SameerBhalerao
Level 4
Level 4

Answer by @hamidk92094312 already covers the link you can try and it works.

 

In case you need to deny certain workflows from appearing in the drop down and it is true for all the users then a suggested approach can be to tag such workflows as system workflows. You can open the workflow properties and tag it with workflow/system and it won't appear in any drop down where user can select it.

 

 

vanegi
Correct answer by
Employee
Employee

You can also achieve the given use case by implementing Workflow: System tag on the model. This will allow you to hide default workflows and display custom workflows in the Start Workflow list in the AEM Sites and Assets UI. See [0] for more details.

 

Steps:

Workflow models are hidden by setting Workflow: System tag on the model.

  1. Go to the Workflow Models console: http://host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models
  2. Click Page Properties on the AEM Sidekick.
  3. Add Workflow: System tag into Tags/Keywords.
  4. Remove Workflow: WCM tag (and other tags) from Tags/Keyword if any.
  5. Click the OK button.
  6. Click the Save button in the top left of the editor page.

[0]: https://helpx.adobe.com/in/experience-manager/kb/hide-workflow-models-start-workflow-list.html

View solution in original post