permission::revoke (public)

 permission::revoke -party_id party_id -object_id object_id \
    -privilege privilege

Defined in packages/acs-tcl/tcl/acs-permissions-procs.tcl

revoke privilege Y from party X on object Z

Switches:
-party_id (required)
-object_id (required)
-privilege (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_proc_permission_grant_and_revoke ad_proc_permission_grant_and_revoke (test acs-tcl) permission::revoke permission::revoke test_ad_proc_permission_grant_and_revoke->permission::revoke test_ad_proc_permission_permission_p ad_proc_permission_permission_p (test acs-tcl) test_ad_proc_permission_permission_p->permission::revoke db_exec_plsql db_exec_plsql (public) permission::revoke->db_exec_plsql permission::cache_flush permission::cache_flush (public) permission::revoke->permission::cache_flush acs_privacy::set_user_read_private_data acs_privacy::set_user_read_private_data (public, deprecated) acs_privacy::set_user_read_private_data->permission::revoke bug_tracker::inherit bug_tracker::inherit (private) bug_tracker::inherit->permission::revoke calendar::assign_permissions calendar::assign_permissions (public, deprecated) calendar::assign_permissions->permission::revoke calendar::item::assign_permission calendar::item::assign_permission (public, deprecated) calendar::item::assign_permission->permission::revoke install::xml::action::unset-permission install::xml::action::unset-permission (public) install::xml::action::unset-permission->permission::revoke

Testcases:
ad_proc_permission_grant_and_revoke, ad_proc_permission_permission_p
Source code:
    db_exec_plsql revoke_permission {}
    permission::cache_flush -party_id $party_id -object_id $object_id -privilege $privilege
Generic XQL file:
packages/acs-tcl/tcl/acs-permissions-procs.xql

PostgreSQL XQL file:
<fullquery name="permission::revoke.revoke_permission">
    <querytext>
             select acs_permission__revoke_permission(
                    :object_id,
                    :party_id,
                    :privilege
                );
        </querytext>
</fullquery>
packages/acs-tcl/tcl/acs-permissions-procs-postgresql.xql

Oracle XQL file:
<fullquery name="permission::revoke.revoke_permission">
    <querytext>
            declare
            begin
                acs_permission.revoke_permission(
                    object_id => :object_id,
                    grantee_id => :party_id,
                    privilege => :privilege
                );
            end;
        </querytext>
</fullquery>
packages/acs-tcl/tcl/acs-permissions-procs-oracle.xql

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