Skip to content

feat(access-control): add checks and model options #613

Closed

Description

@uniqueg

Three small options that proTES needs, so that apps don't each write their own.

  • Startup checks: require_enforced (FOCA refuses to start if access control isn't enforced) and a list of required roles that must exist.
  • Model where admins have only granted rights: a packaged Casbin model without the admin override, for apps where operators must not see all user data.
  • Custom-method paths: resource roles also apply to :verb suffixes (AIP-136), e.g., /tasks/1:cancel.

Acceptance criteria

  • Tests for each option, including failing startup with a clear message; 100% coverage.
  • Docs: access-control page and configuration reference. Defaults don't change.

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
    and removed
    status: triage
    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: mediumtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions