rel_segments_permission_p (public, deprecated)

 rel_segments_permission_p [ -user_id user_id ] \
    [ -privilege privilege ] segment_id

Defined in packages/acs-subsite/tcl/rel-segments-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Wrapper for ad_permission to allow us to bypass having to specify the read privilege Deprecated: just another wrapper for permission::permission_p

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

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) permission::permission_p permission::permission_p (public) rel_segments_permission_p rel_segments_permission_p rel_segments_permission_p->ad_log_deprecated rel_segments_permission_p->permission::permission_p

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc rel_segments_permission_p
    return [permission::permission_p -party_id $user_id -object_id $segment_id -privilege $privilege]
Generic XQL file:
packages/acs-subsite/tcl/rel-segments-procs.xql

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

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

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