xo::db::CrItem instproc privilege=creator (public)

 <instance of xo::db::CrItem[i]> privilege=creator [ -login login ] \
    user_id package_id method

Defined in packages/xotcl-core/tcl/cr-procs.tcl

Define an object specific privilege to be used in the policies. Grant access to a content item for the creator (creation_user) of the item, and for the package admin.

Switches:
-login
(defaults to "true") (optional)
Parameters:
user_id
package_id
method

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]
Show another procedure: