R/datashield.admin.R
dsadmin.profile_access.Rd
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.
dsadmin.profile_access(opal, name, restricted = TRUE)
Opal object.
Name of the profile.
Default value is TRUE.
Other DataSHIELD profiles:
dsadmin.profile_create()
,
dsadmin.profile_delete()
,
dsadmin.profile_enable()
,
dsadmin.profile_exists()
,
dsadmin.profile_init()
,
dsadmin.profile_perm_add()
,
dsadmin.profile_perm_delete()
,
dsadmin.profile_perm()
,
dsadmin.profile_rparser()
,
dsadmin.profiles()
,
dsadmin.profile()
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)
}