[Erp5-dev] access to get_local_roles in Base_getOwnerId
Jérome Perrin
jerome at nexedi.com
Fri Nov 23 17:05:55 CET 2007
Mikolaj Antoszkiewicz a écrit :
> Hello,
>
> Since access to get_local_roles by non-Manager user is unauthorised,
> could the script Base_getOwnerId have proxy Manager role by default.
> That way normal user can verify the ownership of the object, eg. in script.
> I think that would come in handy in many circumstances.
Hello,
You can use getViewPermissionOwner, which is very similar
Jérome
More information about the Erp5-dev
mailing list