Skip to content

Return the caller's roles from /me endpoint - #526

Merged
lahirujayathilake merged 2 commits into
masterfrom
me-roles
Jul 13, 2026
Merged

Return the caller's roles from /me endpoint#526
lahirujayathilake merged 2 commits into
masterfrom
me-roles

Conversation

@lahirujayathilake

Copy link
Copy Markdown
Member

The settings page could only show role details to admins, because reading role grants goes through admin-gated endpoints. Regular users saw "Role details are not visible with your current access" for their own roles.

Fix

GET /me now includes the caller's roles, each entry carries the role, the privileges it grants, and the granted date. Reading your own grants needs no admin privilege.

@lahirujayathilake
lahirujayathilake merged commit 7a32a38 into master Jul 13, 2026
2 checks passed
@lahirujayathilake
lahirujayathilake deleted the me-roles branch July 20, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant