Enable create workflow option for a specific page and disable for all other pages. | Community
Skip to main content
Employee
February 27, 2025
Solved

Enable create workflow option for a specific page and disable for all other pages.

I have a requirement where a user group should be able to run a workflow on a specific page but not on any other pages. We can disable a specific workflow or all workflows for a user group, but how can we restrict them to only one page?

For example, under /content/company/us/ , there are multiple pages, but I want to enable the "Create Workflow" option only for the page /content/company/us/test.

3 replies

arunpatidar
New Participant
February 27, 2025

HI @amitaj 

You may need to use rendercondition to show/hide button based on condition, please check

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/custom-granite-render-condition-for-hiding-component-aem-ui-menu/td-p/603262 

Translate
Arun Patidar
AmitaJAuthor
Employee
February 27, 2025

Hi @arunpatidar , I have to use ACL. can we achieve using acl?

deny on var/workflow/model will be applicable to all pages.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
February 28, 2025