cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting creation of Alfresco Share Sites for end user

murtaza_ghodawa
Champ in-the-making
Champ in-the-making
Can we restrict creation of Alfresco sites for end user? Let's say there is a configuration which will restrict user to create only 5 sites. If we keep this number of site creation to unlimited for end user then Admin will have tough time to manage this depending on the number of users.
Please provide any workaround ("Java code" or "API" or "REST WS CALLS" or "Plugin/Extension") to achieve this. Appreciate your quick response.

Thanks,
Murtaza
murtaza.ghodawala@alshaya.com
3 REPLIES 3

scouil
Star Contributor
Star Contributor
I think the easiest would be to write an interceptor on the siteservice.
It will then possibly need a bit more code to get the error to go cleanly all the way to the UI. Not sure.

Please tell me any example to write this interceptor?