permission::cache_eval (private)
permission::cache_eval [ -party_id party_id ] [ -object_id object_id ] \ [ -privilege privilege ]
Defined in packages/acs-tcl/tcl/acs-permissions-procs.tcl
Run permission call and cache the result.
- Switches:
- -party_id (optional)
- -object_id (optional)
- -privilege (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [acs::permission_cache eval -partition_key $party_id -expires [parameter::get -package_id $::acs::kernel_id -parameter PermissionCacheTimeout -default 300] $party_id/$object_id/$privilege { permission::permission_p_not_cached -party_id $party_id -object_id $object_id -privilege $privilege }]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