Question
How to disable Bulk Update option for specific role ?
Answer
- Create a clone of the ROLE_API.
- Remove the UPDATE/EXECUTE permission from the "Tenant Tasks" in the custom ROLE_API.
- Create a new custom role only for BULK Update permission and add the following permissions to the role.
{
"roleName": "ROLE_CUSTOM_BULK_UPDATE",
"servicePermissions": [
{
"id": "MDM",
"resourcePermissions": [
{
"id": "tasks",
"allowedPrivileges": [
"READ"
],
"resourcePermissions": [
{
"id": "bulk",
"allowedPrivileges": [
"EXECUTE",
"DELETE",
"UPDATE"
]
}
]
}
]
}
]
}
- Assign the custom ROLE_API to all users instead of the ROLE_API system role. This removes the Bulk update permission from the users.
- Provide the custom bulk update role only those users who need access to bulk update.
Comments
Please sign in to leave a comment.