Skip to content

Membership follow-ups: members CLI, audited membership changes, reassign, enum filter validation, requester visibility #866

Closed

Description

@jimhoyd

Follow-ups from #865 (store membership gates). Each item below was observed while implementing it; none has been designed yet.

  1. No members CLI. Add urlcode-store members add|remove|list. The operator library functions (addMember, removeMember, listMembers) exist, but they are not wired into the CLI.
  2. Membership changes are not audited. A membership collection refuses audit: true. Granting or revoking review rights should leave evidence.
  3. reassign skips membership. urlcode-store reassign moves a principal's records but does not rewrite the principal's keys in membership collections.
  4. Enum filter values are not validated. ?status=withdrawn on an enum field answers 200 with no items; a value outside the enum should be refused with 400.
  5. Reviewers cannot see the requester. The store never exposes a record's owner, so a reviewer using a readers mount cannot tell who made a request. This needs a deliberate, scoped way to show a requester reference, or a documented reason not to.

Related: #863, #835, #843.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions