Motivation

With the introduction of the flexible group type it makes sense to disable the creation of other group types for certain user roles.
When disabling all but one group type, it's not user friendly to be sent to a page where there is just one option.

Solution

When a user can only add one type of group, we adjust the route of the menu item "New group" from group add page to the group add group type page.

Comments

royharink created an issue. See original summary.

royharink’s picture

Version: 8.x-6.x-dev » 8.x-7.x-dev
Assigned: royharink » Unassigned
Status: Active » Needs review

jaapjan’s picture

Status: Needs review » Fixed

Merged to 6.x and 7.x

  • royharink committed 8530e60 on 8.x-7.x
    #3069607 - Removed unused namespace.
    
  • bramtenhove committed c801bb2 on 8.x-7.x
    Issue #3069607 by bramtenhove: Make sure a link to creating a group is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.