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

View source: R/datashield.admin.R

dsadmin.profile_accessR Documentation

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_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()

Examples

## Not run: 
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)

## End(Not run)

opalr documentation built on May 2, 2022, 5:07 p.m.