permission::permission_p_not_cached (private)
permission::permission_p_not_cached [ -no_cache ] \ [ -party_id party_id ] -object_id object_id -privilege privilege
Defined in packages/acs-tcl/tcl/acs-permissions-procs.tcl
does party X have privilege Y on object Z This function accepts "-no_cache" just to match the permission_p signature since we alias it to permission::permission_p when caching is disabled.
- Switches:
- -no_cache (optional, boolean)
- -party_id (optional)
- -object_id (required)
- -privilege (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { $party_id eq "" } { set party_id [ad_conn user_id] } # We have a per-request cache here return [acs::per_request_cache eval -key acs-tcl.permission_p__cache-$party_id,$object_id,$privilege { db_string select_permission_p { select acs_permission.permission_p(:object_id, :party_id, :privilege) from dual } }]Generic XQL file: packages/acs-tcl/tcl/acs-permissions-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/acs-permissions-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/acs-permissions-procs-oracle.xql