Page 1 of 1

Script that modifies the rights

PostPosted:Fri Mar 19, 2010 10:01 am
by neshdenial
Hello, I wonder if it is possible to create a script that can change the access rights on a document.
For example "Consumer" has the right to read the document and when I run my script "Editor" has the right to edit the document.
Is it possible to do that? If yes how?
Thanks.

Re: Script that modifies the rights

PostPosted:Fri Mar 19, 2010 11:14 am
by pavila
Yes, it is possible. More info at http://wiki.openkm.com/index.php/Webservices_Guide. See the Auth API.

Re: Script that modifies the rights

PostPosted:Fri Mar 19, 2010 6:37 pm
by jllort
only for understanding better, when it'll be run this script ? I would like a more detailed logic sequence to understand better the problem. As paco said from webservices you can make any openkm operation, but I would understand better the scenario logic, what's doing user2, when user2 runs the script, etc...