Last chance! 50% off unlimited learning
Sale ends in
Delete a permission that was applied globally on the project's resources. Silently returns when there is no such permission.
opal.resources_perm_delete(opal, project, subject, type = "user")
Opal connection object.
The project name.
A vector of subject identifiers: user names or group names (depending on the type).
The type of subject: user (default) or group.
# NOT RUN {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.resources_perm_add(o, 'CNSIM', 'CNSIM1', c('andrei', 'valentina'), 'user', 'view')
opal.resources_perm(o, 'CNSIM', 'CNSIM1')
opal.resources_perm_delete(o, 'CNSIM', 'CNSIM1', c('andrei', 'valentina'), 'user')
opal.logout(o)
# }
Run the code above in your browser using DataLab