permission::grant (public)
permission::grant -party_id party_id -object_id object_id \ -privilege privilege
Defined in packages/acs-tcl/tcl/acs-permissions-procs.tcl
grant privilege Y to party X on object Z
- Switches:
- -party_id (required)
- -object_id (required)
- -privilege (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_admin_merge_MergeUserInfo, acs_subsite_expose_bug_775, ad_proc_permission_grant_and_revoke, ad_proc_permission_permission_p, test_inheritance_and_custom_permissions
Source code: db_exec_plsql grant_permission {} permission::cache_flush -party_id $party_id -object_id $object_id -privilege $privilegeGeneric XQL file: packages/acs-tcl/tcl/acs-permissions-procs.xql
PostgreSQL XQL file: <fullquery name="permission::grant.grant_permission"> <querytext> select acs_permission__grant_permission( :object_id, :party_id, :privilege ); </querytext> </fullquery>packages/acs-tcl/tcl/acs-permissions-procs-postgresql.xql
Oracle XQL file: <fullquery name="permission::grant.grant_permission"> <querytext> declare begin acs_permission.grant_permission( object_id => :object_id, grantee_id => :party_id, privilege => :privilege ); end; </querytext> </fullquery>packages/acs-tcl/tcl/acs-permissions-procs-oracle.xql