-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
TO-DO:
- Create a
GET /user/{id}/has_permissionendpoint for checking permissions analogous to the has_permission method (e.g./user/{id}/has_permission?permission_name=WriteTeams); - The endpoint returns a boolean value;
- The endpoint can only be utilized by authenticated users;
- When receiving a request regarding a nonexistent permission, 404 is returned.
How to test:
- Create a user with and grant them a permission.
- Make a request regarding a permission they have, one they don't, and one that does not exist. Check if responses match expected values.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request