[13.0.0] Remove support for public_group, open_group, closed_group, and secret_group and migrate to flexible_group

Created on 11 August 2023, over 1 year ago
Updated 7 May 2024, 7 months ago

Problem/Motivation

Open Social 6 introduced a new group type in the form of Flexible Groups. The final gap to the old group types was added in Open Social 10 with the addition of hidden flexible groups.

Flexible groups can do everything the old group types can do and better, allowing users to create groups that are outside of the normal mold. Additionally it's a lot easier to maintain a single group type built on group than it is to have multiple group types. For example in the creation of views, notifications or other extensions on top of groups.

Steps to reproduce

Proposed resolution

In a to be determined major version we will include update hooks that migrate the old group types to flexible groups. This should account for all field data (assuming this is also available on flexible groups) and group content (assuming the group content can be added to flexible groups). A proof of concept for this is currently available on GitHub.

The goal is to remove all configuration and code for these old group types in the same release as the update hook is included.

Remaining tasks

We would love to hear from the community if such a migration would cause you problems (and why) as well as gain better insight into what kind of customisations are built on top of the old group types (public_group, open_group, closed_group, and secret_group) and whether you have these customisations also available for flexible_group.

User interface changes

API changes

Any code related to public_group, open_group, closed_group, secret_group, will be removed. Open Social will only treat flexible_group as its group type and will stay out of the way from other things that may be built on the group module.

social_group will be trimmed to a module that contains common systems on top of group that can be re-used (e.g. member management) and social_group_flexible_group will contain all code specific to what is considered a "group" on an Open Social platform.

Data model changes

πŸ“Œ Task
Status

Fixed

Version

11.10

Component

Groups

Created by

πŸ‡³πŸ‡±Netherlands kingdutch

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

Comments & Activities

Production build 0.71.5 2024