acs_privacy::user_can_read_private_data_p (public)

 acs_privacy::user_can_read_private_data_p [ -user_id user_id ] \
    -object_id object_id

Defined in packages/acs-tcl/tcl/acs-private-data-procs.tcl

check if a user can access an object's private data

Switches:
-user_id
(optional)
-object_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 acs_privacy::privacy_control_enabled_p acs_privacy::privacy_control_enabled_p (public) permission::permission_p permission::permission_p (public) acs_privacy::user_can_read_private_data_p acs_privacy::user_can_read_private_data_p acs_privacy::user_can_read_private_data_p->acs_privacy::privacy_control_enabled_p acs_privacy::user_can_read_private_data_p->permission::permission_p

Testcases:
No testcase defined.
Source code:
        if {[privacy_control_enabled_p]} {
            return [permission::permission_p -party_id $user_id -object_id $object_id -privilege read_private_data]
        } else {
            # backwards compatibility
            return 1
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: