Skip to content

Added the ability to skip user groups on clean#2

Open
biplobice wants to merge 1 commit into
concretecms:masterfrom
biplobice:feature/skip-user-groups
Open

Added the ability to skip user groups on clean#2
biplobice wants to merge 1 commit into
concretecms:masterfrom
biplobice:feature/skip-user-groups

Conversation

@biplobice

Copy link
Copy Markdown

This PR allows skipping user groups on cleaning by adding a simple config option.

Comment thread config/cleaners.php
/** Whether the super admin should be cleaned by the UserCleaner */
'clean_super_admin' => false,
/** User controlled 'skip_user_groups' */
'skip_user_groups' => ['Administrators'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's set this to be empty by default

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.

2 participants