• Publicity: Public Only All

acs-private-data-procs.tcl

Tcl procs for managing privacy

Location:
packages/acs-tcl/tcl/acs-private-data-procs.tcl
Created:
2000-12-02
Author:
ben@openforce.net
CVS Identification:
$Id: acs-private-data-procs.tcl,v 1.9.2.1 2022/08/29 14:17:24 antoniop Exp $

Procedures in this file

Detailed information

acs_privacy::privacy_control_enabled_p (public)

 acs_privacy::privacy_control_enabled_p

Returns whether privacy control is turned on or not. This is provided in order to have complete backwards compatibility with past behaviors, where private information was in no way regulated.

Partial Call Graph (max 5 caller/called nodes):
%3 ad_acs_kernel_id ad_acs_kernel_id (public) parameter::get parameter::get (public) acs_privacy::privacy_control_enabled_p acs_privacy::privacy_control_enabled_p acs_privacy::privacy_control_enabled_p->ad_acs_kernel_id acs_privacy::privacy_control_enabled_p->parameter::get

Testcases:
No testcase defined.

acs_privacy::privacy_control_set (public)

 acs_privacy::privacy_control_set val

set the privacy control

Parameters:
val

Partial Call Graph (max 5 caller/called nodes):
%3 ad_acs_kernel_id ad_acs_kernel_id (public) parameter::set_value parameter::set_value (public) acs_privacy::privacy_control_set acs_privacy::privacy_control_set acs_privacy::privacy_control_set->ad_acs_kernel_id acs_privacy::privacy_control_set->parameter::set_value

Testcases:
No testcase defined.

acs_privacy::set_user_read_private_data (public)

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

grant permission to access private data

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

Partial Call Graph (max 5 caller/called nodes):
%3 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->permission::grant acs_privacy::set_user_read_private_data->permission::revoke

Testcases:
No testcase defined.

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

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.
[ show source ]