AnsweredAssumed Answered

Problem with permissions when calling deletesites membership

Question asked by acorona on Jan 23, 2011
I'm trying to delete site memberships from an external web app using HTTPClient and calling the delete api/sites/{shortname}/memberships/{member}?alf_ticket={ticket}

This works fine when called from my unit test class. But when calling it from within my Servlet I get e following error:

atus template): 00230050 Failed to execute script '/org/alfresco/repository/site
/membership/membership.delete.js (in classpath store file:C:/servers/Alfresco/to
mcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 00230049
The current user does not have sufficient permissions to delete membership detai
ls of the site testsite.

Any ideas?

Thanks in advance for your help.

Outcomes