Skip to content

[Request]: per-owner record limit for owned store collections #731

Closed

Description

@jimhoyd

Problem or use case

Per-record ownership (#331) scopes list, read, update and delete to the caller's principal. But maxRecords still limits the whole collection, so one user can fill an owned collection, and then every user gets 409 collection_full. That is a noisy-neighbour and denial-of-service path on multi-user collections.

Proposed behavior and alternatives

  • An optional per-owner cap on owned collections, e.g. ownership: {mode: owner, maxRecordsPerOwner: N} or a sibling maxRecordsPerOwner, enforced at create time with its own error (e.g. 409 owner_quota_exceeded) that does not reveal other users' counts.
  • Keep the existing collection-wide maxRecords as the overall ceiling.
  • Legacy ownerless records (see the urlcode-store ownerless command) count toward no owner.

Owner decision (2026-09-25): track as a follow-up to #331 rather than block it.

Activity

  1. added
    enhancement
    extension
    on Sep 25, 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

    enhancementextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions