cancel
Showing results for 
Search instead for 
Did you mean: 

give users permission to a shared space

robertoroberto
Champ in-the-making
Champ in-the-making
Hi, I would create a shared space in user_homes and give read/write permissions to users with username "co1" and "co2". How can I do It programmatically?
If I'm administrator, Should I create the space invite usernames?How can do it programmatically? for example via web services?
regards
1 REPLY 1

mikef
Champ in-the-making
Champ in-the-making
I'm not sure about web services, by you can do this easily with a Web Script that uses the JavaScript API to set the permissions. See
http://wiki.alfresco.com/wiki/JavaScript_API#Permission_and_Security_API for details.

You can easily execute your Web Script via URL and could pass in the user names are arguements as well if you wanted. See http://wiki.alfresco.com/wiki/Web_Scripts