Skip to content

[Feature Request] Ability to duplicate an existing user group #11795

Answered by brandonkelly
Ticolyle asked this question in Ideas
Discussion options

You must be logged in to vote

Agree it would be helpful. In the meantime, if you don’t mind getting your hands a little dirty, user groups are one of the easier things to duplicate by copying the project config data:

  1. Create a new UUID for the new group from https://www.uuidgenerator.net/
  2. Find the existing group in config/project/users/groups/, and duplicate it named after your new group handle + UUID (e.g. myNewHandle-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.yaml)
  3. Edit the settings within the file (at the very least give it a new name and handle
  4. Run php craft project-config/apply

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
system administration 💼 features related to system administration
2 participants