Skip to content

Warn when a schema load hides a permission granted by a custom role #673

In review

Description

@rodmgwgu

Follow-up from the review of #649 (discussion). Non-blocking and out of scope for that PR.

Warn when a schema load hides a permission that a custom role already grants.

Since #649, editing a custom role keeps the hidden permissions it already grants, as ADR 0038 requires: hiding must not remove grants or change permission checks. The catalog does not list hidden permissions, so nobody can see that a custom role still grants one.

When loading the schema hides a permission, or its category, that one or more custom roles grant, log a warning that names the permission and those roles. The load must not fail, so deploys are not blocked.

Activity

  1. added
    willow
    on Dec 2, 2026
  2. self-assigned this
    on Dec 2, 2026
  3. added a commit that references this issue on Dec 2, 2026
    3639c64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

willow

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions