Skip to content

feat(GroupMigration): Add dry run mode to command#1031

Closed
CarlSchwan wants to merge 2 commits intomasterfrom
carl/migration-copy-incomplete-dry-run
Closed

feat(GroupMigration): Add dry run mode to command#1031
CarlSchwan wants to merge 2 commits intomasterfrom
carl/migration-copy-incomplete-dry-run

Conversation

@CarlSchwan
Copy link
Copy Markdown
Member

And fix detection of old group.


// Remove prefix from group names
$allOwnedGroups = array_map(function (string $groupName): string {
if (substr($groupName, 0, strlen(SAMLSettings::DEFAULT_GROUP_PREFIX)) == SAMLSettings::DEFAULT_GROUP_PREFIX) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO FIXME: SAMLSettings::DEFAULT_GROUP_PREFIX should not be hardcoded

And fix detection of old group.

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan force-pushed the carl/migration-copy-incomplete-dry-run branch from 735104b to 0e48800 Compare January 21, 2026 13:12
@CarlSchwan CarlSchwan marked this pull request as draft January 21, 2026 14:27
@CarlSchwan CarlSchwan closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant