docs: role permission sync removes revoked claims from built-in roles (#1426) - #266
Open
marcelo-maciel wants to merge 2 commits into
Open
marcelo-maciel wants to merge 2 commits into
marcelo-maciel wants to merge 2 commits into
Conversation
…che, it does not warm it
This branch has not been deployed
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.
Docs for fullstackhero/dotnet-starter-kit#1426 (the fix for fullstackhero/dotnet-starter-kit#1417).
The role-permission syncer section of Authorization now says the sync is authoritative for the built-in
BasicandAdminroles: it removes permission claims the catalog no longer grants, logs each removal at Warning, keeps the root tenant'sIsRootpermissions and leaves non-permission claims alone. The changelog entry carries the upgrade note that narrowingIsBasicor removing a permission now revokes it on existing tenants at the next start.Also fixes a pre-existing error in
building-blocks/caching.mdx: it said theRolePermissionSyncerwarms the permission cache, while the syncer only invalidates it (through the permissions tag) when it adds or removes a system-role claim.Files: src/content/docs/security/authorization.mdx, src/content/docs/changelog/index.mdx, src/content/docs/building-blocks/caching.mdx
npx astro check: 0 errors, 0 warnings.