hi how do i remove the create site link so that only the admin can create sites.
You can use Jeff Potts add-on.
Please refer to the hyperlink below.
Controlling site creation permissions | Alfresco Documentation
This does not remove the menu option, but users not in the nominated group cannot create a site.
In the example provided the Create site permission is granted to GROUP_SITE_CREATORS
org.alfresco.service.cmr.site.SiteService.createSite=ACL_METHOD.GROUP_SITE_CREATORS
You will need to create a group called "SITE_CREATORS" and assign people to it.
You can also substitute this with the following line so that only the role "Administrator" gets access.
org.alfresco.service.cmr.site.SiteService.createSite=ACL_METHOD.ROLE_ADMINISTRATOR
It is good practice to create a folder and keep all your changes in there, so when you upgrade, you can re-apply them.
My file is attached and is stored on D:\alfresco-comm_v5_2\tomcat\shared\classes\alfresco\extension
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.