Is Authorized
POST/user-svc/permission/:permissionId/is-authorized
Verify whether a user has a specific permission.
Ideally, this endpoint should rarely be used, as the JWT token
already includes all user roles. Caching the Get Permissions by Role
responses allows services to determine user authorization
without repeatedly calling this endpoint.
Request
Responses
- 200
- 400
- 401
OK
Invalid JSON or missing permission id
Unauthorized