set_permissions: set secure_scan access permissions for a user

View source: R/admin-api.R

set_permissionsR Documentation

set secure_scan access permissions for a user

Description

to be run only by scidbadmin, or user with Read / Write capability to PERMISSIONS_ARRAY and secured namespaces

Usage

set_permissions(pkg_schema, con, user_id, secure_id, allowed, namespace = NULL)

Arguments

user_id

the id of the user for whom to change permissions. Obtained via list_users, or -1 for all users (on Scidb 21.8 or above)

secure_id

the ids along the secure dimension to change permissions for.

Details

can supply multiple ids at a time.


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.