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 (optional, defaults to
"read"
)- Parameters:
- rel_id (required)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc relation_permission_p 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