How to check permission using Rest API
Hi Team
In the ticket creation page, based on role few users don't have permission to use "take it" button in theAssigneefield.
On the permission page, based on our understanding they don't have "Assigned to them" access, if I am correct, how to check this access using rest API?
Thanks in advance.
-
Hey there,
Based on your description. It sounds more like they don't have the "Edit ticket properties" permissions. Keep in mind that the role in your screenshot is a system role that can't be modified. If you want to modify the role, you can recreate it as acustom role.
All that being said:
You can see all user roles by calling theuser roleapi.
You can a specific check user's role by using theuser api
You can check all users with a specific role by using the list users api with a filter for that rolespermission set
Hope this helps!
Vous devezvous connecter把联合国commentaire自由。
1 Commentaires