There are 2 link in the site, which are visible for all the menbers of the site. Now I want to hide those 2 links for non admin users.
In shre-config-custom.xml
I made the entries as
<config evaluator="string-compare" condition="SitePages" >
<pages>
<page id="content-translator">content-translator</page>
<page id="admin-page">admin-page</page>
</pages>
</config>
How to hide these 2 links to users who are not admins.
I tried in the following ways, but its not working
1.<config evaluator="string-compare" condition="SitePages" permission="admin">
2.added
<groups>GROUP_ALFRESCO_ADMINISTRATORS</groups>
<negate>true</negate>
Can any one please suggest me how to permission only for admin.
Thanks,
Sridath