Learn R Programming

opalr (version 3.4.2)

dsadmin.profile_access: Restrict or open access to a DataSHIELD profile

Description

When access is restricted, only users (or group of users) with this profile use permissions will be allowed to use this profile. When access is not restricted, all DataSHIELD users are allowed to use this profile. See also dsadmin.profile_perm.

Usage

dsadmin.profile_access(opal, name, restricted = TRUE)

Arguments

opal

Opal object.

name

Name of the profile.

restricted

Default value is TRUE.

See Also

Other DataSHIELD profiles: dsadmin.profile(), dsadmin.profile_create(), dsadmin.profile_delete(), dsadmin.profile_enable(), dsadmin.profile_exists(), dsadmin.profile_init(), dsadmin.profile_perm(), dsadmin.profile_perm_add(), dsadmin.profile_perm_delete(), dsadmin.profile_rparser(), dsadmin.profiles()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
dsadmin.profile_create(o, name = 'survival', cluster = 'demo')
dsadmin.profile_access(o, name = 'survival', restricted = TRUE)
opal.logout(o)
}

Run the code above in your browser using DataLab