relation_permission_p (public, deprecated)

 relation_permission_p [ -user_id user_id ] [ -privilege privilege ] \
    rel_id

Defined in packages/acs-subsite/tcl/relation-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Wrapper for ad_permission_p that lets us default to read permission Deprecated: just another wrapper for permission::permission_p

Switches:
-user_id (optional)
-privilege (defaults to "read") (optional)
Parameters:
rel_id
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc relation_permission_p used:\n[ad_get_tcl_call_stack]"

    return [permission::permission_p -party_id $user_id -object_id $rel_id -privilege $privilege]
Generic XQL file:
packages/acs-subsite/tcl/relation-procs.xql

PostgreSQL XQL file:
packages/acs-subsite/tcl/relation-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/relation-procs-oracle.xql

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