cancel
Showing results for 
Search instead for 
Did you mean: 

Undisplay 'Manage rules' and 'Manage Permissions' without admin user

junminya
Champ on-the-rise
Champ on-the-rise
Hi, everyone!

Our alfresco version is 4.2.c and we use alfresco share.

We wanna undisplay "Manage rules" and "Manage Permissions" menu without admin user.
( could you check attachment file..)

Can I do it , for example using custom file?
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
You need to refer following entry in share-documentlibrary-config.xml file.



<config evaluator="string-compare" condition="DocLibActions" replace="true">

      <!–
         Action definitions
      –>
      <actions>
  <!– Manage folder rules –>
         <action id="folder-manage-rules" type="pagelink" label="actions.folder.rules">
            <param name="page">folder-rules?nodeRef={node.nodeRef}</param>
         
         </action>

      </actions>
   </config>



Override all respective actions which you want to disable in share-config-custom.xml file.
you can disable or enable the actions by using Alfresco Action Evaluators.
Also you can use the Permission group tag to configure the action.
If you refer out of box file for all these ac

Thank you, mitpatoliya.

We understand DocLibAction is defined in share-documentlibrary-config file and
We can override by share-config-custom.

But I don't know how to change that configuration.

If we change to refer following…

         <actionGroup id="document-details">
            <action index="100" id="document-download" />
      …
<!– delete this sentence
            <action index="300" id="document-manage-repo-permissions" />
–!>
      …
         </actionGroup>

Management Permission menu is undisplayed to all user.

But we want to display this menu to only admin user.

Do you know how?

shazada
Star Contributor
Star Contributor