cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing content

zaizi
Champ in-the-making
Champ in-the-making
Hi,

Customising the web client to create a new wizard to allow users to see private spaces and to request to join them. The space coordinator can then add the user to the private space. The easiest way to do this was to create a new role called to 'waiting to join' and add the user with that role to the private space. The role will only have read properties permission to the space only.

However, to add the user to role to the space will require Change permissions permission on the space, which we don't want to give to the users. This can be done as within the context of an admin user. What is the best way to do this in the Wizard bean?

Hope the question makes sense.

Regards,
Ainga
1 REPLY 1

zaizi
Champ in-the-making
Champ in-the-making
Solved it using org.alfresco.repo.security.authentication.AuthenticationUtil.RunAs.