Disable Bulk Update option for specific role

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.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.