Conversation
load_preset() — made idempotent (sync mode): - Roles/groups/role_grants are diffed against the DB and updated when their configuration changed, created when new, never deleted - Stats now report created/updated per entity type - Removed the --force guard (function is safe to re-run anytime) Group.save() — fixed slug corruption: - No longer overwrites an explicitly provided slug with slugify(name) - Was causing duplicate key errors on preset re-loads because the stored slug differed from the preset's lookup key grant_manager_access_to_owners() — made idempotent and exhaustive: - Now grants ALL configured role grants (all scopes), not just the access manager scope - Uses assign_role() which already performs upserts internally Currency: added CDF (Congolese Franc)
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.
load_preset() — made idempotent (sync mode):
Group.save() — fixed slug corruption:
grant_manager_access_to_owners() — made idempotent and exhaustive: