acs_privacy::set_user_read_private_data (public, deprecated)

 acs_privacy::set_user_read_private_data -user_id user_id \
    -object_id object_id -value value

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

Deprecated. Invoking this procedure generates a warning.

grant permission to access private data DEPRECATED: this privacy feature was only used in the context of dotlrn, which also has an own set of apis for a similar purpose.

Switches:
-user_id (required)
-object_id (required)
-value (required)
See Also:
  • dotlrn

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) permission::grant permission::grant (public) permission::revoke permission::revoke (public) acs_privacy::set_user_read_private_data acs_privacy::set_user_read_private_data acs_privacy::set_user_read_private_data->ad_log_deprecated acs_privacy::set_user_read_private_data->permission::grant acs_privacy::set_user_read_private_data->permission::revoke

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc acs_privacy::set_user_read_private_data
        if { [string is true -strict $value] } {
            permission::grant -party_id $user_id -object_id $object_id -privilege read_private_data
        } else {
            permission::revoke -party_id $user_id -object_id $object_id -privilege read_private_data
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: