permission::inherit_p (public)

 permission::inherit_p -object_id object_id

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

Does this object inherit permissions?

Switches:
-object_id (required)
Returns:
Boolean value expression whether permussions are inherited.

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_inheritance_and_custom_permissions test_inheritance_and_custom_permissions (test acs-tcl) permission::inherit_p permission::inherit_p test_test_inheritance_and_custom_permissions->permission::inherit_p db_string db_string (public) permission::inherit_p->db_string bug_tracker::access_policy bug_tracker::access_policy (public) bug_tracker::access_policy->permission::inherit_p packages/acs-subsite/www/admin/configure.tcl packages/acs-subsite/ www/admin/configure.tcl packages/acs-subsite/www/admin/configure.tcl->permission::inherit_p

Testcases:
test_inheritance_and_custom_permissions
Source code:
    return [db_string select_inherit_p {} -default 0]
Generic XQL file:
<fullquery name="permission::inherit_p.select_inherit_p">
    <querytext>
            select case when security_inherit_p = 't' then 1 else 0 end
            from acs_objects
            where object_id = :object_id
        </querytext>
</fullquery>
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: