xo::ConnectionContext instproc permission (public)

 <instance of xo::ConnectionContext[i]> permission \
    -object_id object_id  -privilege privilege  [ -party_id party_id ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/context-procs.tcl

Call ::permission::permission_p but avoid multiple calls in the same request through caching in the connection context

Switches:
-object_id (required, integer)
-privilege (required)
-party_id (optional, integer)

Testcases:
xowiki_test_cases
[ show source ]
Show another procedure: