Apologises in advance if this question is rather simplistic or has been answered elsewhere. I am relatively new to Alfresco development and am still taking it all in. I have searched but not found a solution that works so far for my problem.
I am trying to create a simple scenario using the repository foundation services api to test access control.
I have used to the API to login as admin and create a folder "A" under company home. When i create a new user they are automatically added to the GROUP_EVERYONE authority. As a result every new user has read access to all content created under "A". I want to remove the everyone access so that i have to give specific permission to a user in order for them to view content in "A".
I have tried to delete the GROUP_EVERYONE authority and remove the users from the everyone group but nothing seems to work.
Does anyone know how this can be achieved using just the repository API?
Many thanks for your help with this.
Regards
Will