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 the Assignee field.
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 a custom role.
All that being said:
You can see all user roles by calling the user role api.
You can a specific check user's role by using the user api
You can check all users with a specific role by using the list users api with a filter for that roles permission set
Hope this helps!
Iniciar sesión para dejar un comentario.
1 Comentarios