Finding users with specific permission
Hi,
i'm building a workflow inside an app and i would like to send an email to any user who has the permission to edit app settings ("Low level admin write").
Is there a way inside the workflows to find such a user?
Please sign in to leave a comment.
Hi,
I'm Sergey from the YouTrack team.
If you can specify a predefined set of roles that contain this permission, then you can use the hasRole() method of the User entity.
Otherwise, you can call the REST API from your workflow to get this data:
If you have any questions, please let me know.
Thank you for the information.
You are welcome! Feel free to reach out if there's anything else I can assist you with.