You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(access-control): add GET /me with app hook #610
Clients need to know who the caller is and what they may do, for example to show or hide admin functions. cloud-registry has its own GET /me; trs-filer may need one as well.
Proposal
An optional GET /me in FOCA that returns the caller's subject, groups and admin status, plus an app hook that adds app-specific fields. Switched off unless configured, so apps with their own endpoint aren't affected.
Acceptance criteria
Tests: anonymous, user, admin, service client, hook fields; 100% coverage.
Docs: access-control page, including how cloud-registry's response maps to it.
Activity