cancel
Showing results for 
Search instead for 
Did you mean: 

How to set permission use site manager

miraclesuki
Champ in-the-making
Champ in-the-making
Hi,

In the share-config-custom.xml, I defined:
<item type="link" id="repository" condition="conditionRepositoryRootNode" permission="admin">/repository</item>
which can display the Repository Button in the header with Admin account ONLY.

In case, I would prefer a user which is a "Manager" role can also view the Button.
Therefore, is there a permission right can be set?  Something like: permission="Manager" ??

Any advise on it will be highly appreciated.
Thanks your kindly help.

Regards
Mandy
3 REPLIES 3

miraclesuki
Champ in-the-making
Champ in-the-making
Would anyone can help on this issue?
Many Thanks!

Regards
Mandy

mikeh
Star Contributor
Star Contributor
"Manager" is a Site-specific role, whereas "Repository" is a global page. The role of Manager would make no sense for the header component.

Thanks,
Mike

tushar_khanka
Confirmed Champ
Confirmed Champ

if it help you can make an evaluator on the action that can be viewed to only specific roles or you can set permissions like 

     <action id="document-download" type="link" label="actions.document.download">
          <param name="href">{downloadUrl}</param>
        <permissions>
           <permission allow="true">Delete</permission>
        </permissions>
      </action>