Updates the visibility rules (UI ACL) for the different views of the
specified table view on a NocoDB server via its
POST /api/v2/meta/bases/{id_base}/visibility-rules
API endpoint.
Usage
update_base_ui_acl(
id_tbl_view,
guest = viewer,
viewer = commenter,
commenter = editor,
editor = creator,
creator = owner,
owner = FALSE,
id_base = base_id(origin = origin, email = email, password = password, api_token =
api_token),
origin = pal::pkg_config_val("origin"),
email = pal::pkg_config_val("email"),
password = pal::pkg_config_val("password"),
api_token = pal::pkg_config_val("api_token"),
quiet = FALSE
)
Arguments
- id_tbl_view
character(1)
Table view identifier as returned bytbl_view_id()
.- guest
logical(1)
Whether or not to hide the table view for users with roleguest
.- viewer
logical(1)
Whether or not to hide the table view for users with roleviewer
.- commenter
logical(1)
Whether or not to hide the table view for users with rolecommenter
.- editor
logical(1)
Whether or not to hide the table view for users with roleeditor
.- creator
logical(1)
Whether or not to hide the table view for users with rolecreator
.- owner
logical(1)
Whether or not to hide the table view for users with roleowner
.- id_base
character(1)
NocoDB base identifier as returned bybase_id()
.- origin
character(1)
NocoDB server origin.character(1)
E-mail address of the NocoDB user to authenticate with.- password
character(1)
Password of the NocoDB user to authenticate with.- api_token
character(1)
NocoDB API token. Takes precedence overemail
andpassword
if provided.- quiet
logical(1)
Whether or not to suppress printing status output from internal processing.
See also
Other functions to manage NocoDB base visibility rules (UI ACL):
base_ui_acl()
Other functions to manage NocoDB table views:
base_ui_acl()
,
tbl_view_id()
,
tbl_views()
Other functions to manage NocoDB bases:
base()
,
base_id()
,
base_ui_acl()
,
base_users()
,
bases()
,
create_base()
,
delete_base()
,
delete_base_user()
,
invite_base_user()
,
resend_base_user_invitation()
,
update_base()
,
update_base_user()