xo::db::CrItem instproc privilege=creator (public)
<instance of xo::db::CrItem> privilege=creator [ -login login ] \ user_id package_id method
Defined in /var/www/openacs.org/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 (optional, defaults to
"true"
)- Parameters:
- user_id (required)
- package_id (required)
- method (required)
- Testcases:
- No testcase defined.