How to check permission using Rest API



Publicado 12 may 2023

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.


0

1

1 comentario

      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!

      0


      Iniciar sesión para dejar un comentario.

      ¿No encontró lo que buscaba?

      Nueva publicación