Skip to content

feat(access-control): add GET /me with app hook #610

Closed

Description

@uniqueg

Problem

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

  1. added this to the v0.21.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: triage
    type: feature
    workload: days
    status: in progress
    on Nov 3, 2026
  3. removed
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: triagetype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions