Skip to content

Manage a tag's apply_min_role after creation (PATCH route + create-form picker) #876

Not planned

Description

@athvin

What

#805 made apply_min_role settable at tag creation (steward|admin, enforced as 403 on apply/unapply). Two gaps remain before the feature is reachable end-to-end:

  • No update path. Retire is the only write on an existing tag; changing the floor means retiring and recreating, which loses the taggings' meaning. Add PATCH /v1/orgs/{org}/tags/{tag_id} (Admin+) accepting apply_min_role (and description while there).
  • No UI. The create-tag form has no role picker, so users cannot set the floor without hand-writing JSON. Add the picker to the tag-creation surface and show the floor on the chip or its tooltip.

Tests owed

  • PATCH: admin changes the floor, a steward is then denied (403); a steward attempting the PATCH is 403; bogus value 422.
  • Component: the picker renders the floor; create posts it.

Surfaced as a scope call on #805.

Activity

  1. added
    pruned
    on Nov 27, 2026
  2. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.

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

    pruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions