[Grok-dev] Re: Local permissions?
Luis De la Parra
lparrab at gmx.net
Tue Jul 3 19:02:48 EDT 2007
Luis De la Parra wrote:
> but how do you allow him to only edit his own files? Is there a way to
> grant the permission only for certain objects?
...ok. never mind.
Just doing it the "obvious" way seems to work. I added this lines in
pmanager = IPrincipalPermissionManager( obj ) #obj > content we are creating
and it does the trick. --only the creator can edit the object--
More information about the Grok-dev