AnsweredAssumed Answered

Hide Manage Permissions & Manage Rules

Question asked by aishu on Jul 29, 2019
Latest reply on Aug 1, 2019 by aishu

Dear Team,

how can i  hide manage rules, manage permissions & manage aspect from Site members,

I add code in the share-documentlibrary-config.xml as below: reffer bold for changes done in code

<!-- Manage permissions (repository roles) -->
<action id="document-manage-repo-permissions" type="link" icon="document-manage-permissions" label="actions.document.manage-permissions">
<param name="href">{managePermissionsUrl}</param>

<permissions>
<permission allow="true">ChangePermissions</permission>

</permissions>
<evaluator negate="true">evaluator.doclib.action.siteBased</evaluator>

<evaluator negate="true">evaluator.doclib.action.isWorkingCopy</evaluator>
<evaluator negate="false">evaluator.doclib.action.isSiteManager</evaluator>
<evaluator negate="false">evaluator.doclib.action.isSiteCollaborator</evaluator>
<evaluator negate="false">evaluator.doclib.action.isSiteContributor</evaluator>
<evaluator negate="false">evaluator.doclib.action.isSiteConsumer</evaluator>
</action>

 

But , When i login with Admin, these options are hide.I need to hide only from users not from admin

can u suggest!

 

Thanks regard,

Aishwarya jadhav.

Outcomes