Group-scoped page/paragraph gates need the deny+grant pair: correct the role-string-only rule#38
Merged
Merged
Conversation
…he role-string-only rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up correction to #37, from further live verification on the same DW 10.26.x host. 3.8.1 stated that group-scoped page rows "failed to gate the frontend" and recommended designing gates on role strings only — that was a misdiagnosis of highest-wins resolution: a bare group-id grant is silently overridden by the inherited broad
AuthenticatedFrontendgrant. Group gates work when written as the deny+grant pair: an explicitAuthenticatedFrontend → Nonedeny plus a<group id> → Readgrant on the same entity.Also live-verifies the
PermissionName='Paragraph'row shape (previously hedged in §15), including the pair written via the paragraph's Permissions panel or direct SQL + security-cache flush.Changes
foundational/users-permissions.md§15: the "gate by role string" rule becomes "group-scoped gates need the deny+grant pair", with the previously-misread symptom explained; the hide-a-paragraph recipe carries the verified'Paragraph'row shape; the hide-a-subtree recipe's step 2 notes group grants are effective exactly because of step 1's deny.dw-users-permissions/SKILL.md: restrict-a-page recipe rewritten — the broad-role deny named as load-bearing for group-restricted pages.dw10-canonical-surfaces.md: routing row updated to "by role or group … group gates need the broad-role deny pair" (and the unescaped|in the table cell replaced so the row renders).[3.8.2](3.8.1's shipped entry left as-is);marketplace.json3.8.1 → 3.8.2; validator 0 errors / 0 warnings; manifest--checkpasses.Generated by Claude Code