Ability to change group type after group creation: update all GroupContent types automatically

Created on 15 November 2017, about 7 years ago
Updated 19 October 2023, about 1 year ago

It would be nice to be able to change a group type after a group is created.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States rclemings

    Most of the above seems to be for v8.x-1.x. In case it helps anybody else, here's how I was able to change the group type for a simple group (no entity references, etc.) in v2.2.1:

    1. Create the new group type if it does not already exist.
    2. Install the appropriate content plugin/s ("set available content" from dropdown on /admin/group/types).
    3. Add/edit group roles ("edit group roles" dropdown) as needed.
    4. Set permission ("edit permissions" dropdown) as needed.
    5. In database, in the "groups" and "groups_field_data" tables, change "type" field to new type for the relevant group/s.
    6. Cross fingers, rebuild cache.

Production build 0.71.5 2024