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):
%3 permission::permission_p permission::permission_p (public) permission::cache_eval permission::cache_eval permission::permission_p->permission::cache_eval parameter::get parameter::get (public) permission::cache_eval->parameter::get permission::permission_p_not_cached permission::permission_p_not_cached (private) permission::cache_eval->permission::permission_p_not_cached

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

[ hide source ] | [ make this the default ]
Show another procedure: