Skip to content

feat(platform): bring #5217 to the stable line — an Admin can block a member's personal API key in their organization #5397

Closed

Description

@yannickmonney

Summary

On the stable 0.5 line an Admin can see a member's personal API key but cannot stop it. A customer's acceptance list requires that administrators can create, manage and, when needed, revoke personal access tokens (requirement M5.3). The customer is testing on 0.5.x, and this part of the requirement is still open there.

The feature line already has the missing part: #5217 lets an Owner or Admin block a member's personal key in one organization, and #5218 lets an organization refuse members' personal keys. Neither is on the stable line.

What the stable line does today

Re-tested as an Admin on the preview (v0.5.101) with a Developer's personal key:

  • Settings › API › REST › "All keys in this organization" lists the Developer's key, marked "Personal key", with the holder's name and e-mail (a10133d).
  • That row has no select box and no row menu. The view is read-only by design: the key works in every organization its holder belongs to, so a plain revoke would end it everywhere.
  • POST /api/auth/api-key/delete with the key's id answers 404 KEY_NOT_FOUND; DELETE /api/app/api-keys/<id>?orgId=… answers 404 API_KEY_NOT_FOUND.
  • Keys made for a member, a team, a project or the organization are bound to the organization, and an Admin can end those. So the workaround today is to create a member's key for them ("Belongs to: Another member") instead of letting them create a personal one. It does not help for personal keys that already exist.

The commit message of a10133d states the choice: it "ports the listing of the feature line's #5045 to the stable line, without what rests on that line's per-organization key blocks and its switch for members' personal keys".

Options (no preference)

  1. Port feat(platform): let admins block a member's personal API key in their organization only #5217 (block in this organization only) to the stable line, so an Admin can stop a personal key here without ending it elsewhere.
  2. Port feat(platform): let admins block a member's personal API key in their organization only #5217 and feat(platform): let an organization refuse members' personal API keys #5218 (the organization-wide switch) together, as the feature line has them.
  3. Keep the stable line read-only and let the customer move to the feature line for this requirement.

Questions

Related

Activity

  1. added
    priority: medium
    needs discussion
    feat
    service: platform
    on Nov 6, 2026
  2. added a commit that references this issue on Nov 6, 2026
    80ca60f
  3. yannickmonney commented on Nov 6, 2026

    @yannickmonney
    ContributorAuthor

    Decision (owner, 2026-11-06): option 1. #5217 comes to the stable line without #5218's switch for members' personal keys. It rides the merge train #5408 as 80ca60f07 (fix(platform): let admins block a member's personal API key here) and ships as v0.5.102.

    Follow-ups filed:

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

    featneeds discussionpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions