Allow admins to set membership type for group type

Created on 20 February 2025, 3 months ago

Problem/Motivation

The original issue and MR is here: https://github.com/Gizra/og/pull/333

Currently we can create membership types at /admin/structure/membership-types but there is no way to set one as the default type for the group type, or which ones should be allowed for a group type

I have a need for this on a project so I will try to provide a MR using the original work here.

✨ Feature request
Status

Active

Version

1.0

Component

og.module

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

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

Merge Requests

Comments & Activities

  • Issue created by @loze
  • Merge request !27Resolve #3507919 "Set membership type" β†’ (Open) created by loze
  • πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

    This MR brings over the changes from github for #333. I've tested it locally and it seems to be working.

    A select field is added on the group type form, where you can select the membership type to set as the default for the group type.
    Requesting a membership for that group then creates a membership of the defined type.

  • Pipeline finished with Failed
    3 months ago
    Total: 781s
    #429371
  • Pipeline finished with Failed
    3 months ago
    Total: 522s
    #429386
  • Pipeline finished with Failed
    3 months ago
    Total: 497s
    #429411
  • Pipeline finished with Failed
    3 months ago
    Total: 549s
    #429425
  • Pipeline finished with Failed
    2 months ago
    Total: 492s
    #434246
  • Pipeline finished with Failed
    about 2 months ago
    Total: 784s
    #449495
  • First commit to issue fork.
  • πŸ‡·πŸ‡΄Romania claudiu.cristea Arad πŸ‡·πŸ‡΄

    The current development branch is 2.x. Let's move the work there. We will evaluate later if this needs backport to 1.x

  • Pipeline finished with Failed
    22 days ago
    Total: 407s
    #476251
  • Pipeline finished with Failed
    22 days ago
    Total: 418s
    #476254
Production build 0.71.5 2024