updateGrant
Description
Adds or updates a grant for a user to a specific resource.
Usage
updateGrant(databaseId, userId, resourceId, permissions)
Arguments
Argument | Description |
---|---|
databaseId | the id of the database |
userId | the (numeric) id of the user to update |
resourceId | the id of the form or folder |
permissions | the permissions to grant to the user for the given resource |
Examples
updateGrant(
databaseId = "cxy123", user = 165,
permissions(
add_record = TRUE,
edit_record = TRUE,
delete_record = TRUE
)
)