Bug #3246

J2.5: New child usergroups of parent Public can't be used in CB

Added by krileon 3 months ago. Updated 3 months ago.

Status:Closed Start date:02/08/2012
Priority:High Due date:
Assignee:beat % Done:

100%

Category:-
Target version:CB 1.8 Estimated time:2.00 hours

Description

When creating a new child usergroup of "Public" parent usergroup you can't select the new usergroup when editing a user within CB > User Management.

An example is to create "Manager 2" with "Public" as its parent. Edit the user and you won't be able to select "Manager 2".

https://www.joomlapolis.com/forum/154-advanced-members-support/190350-user-groups-do-not-synchronise

Confirmed CB 1.7 - CB 1.8.

3246.patch (862 Bytes) krileon, 02/11/2012 01:04 am

History

Updated by nant 3 months ago

  • Target version set to CB 1.8

Updated by beat 3 months ago

  • Status changed from New to Assigned
  • Assignee set to krileon
  • Priority changed from Normal to High

Quick Workaround until patch is provided here shortly:

Create the groups the normal way, below "Registered" and not below "Public", and they will appear fine in both CB and CBSubs.

Updated by krileon 3 months ago

  • File 3246.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

Proposed patch causes lft/rgt checks to be ignored if the user is a super user.

Updated by beat 3 months ago

  • Status changed from Resolved to Closed
  • Estimated time set to 2.00

r1744 implements fix as suggested, with avoiding calling function for super-admin detection in the loop.

Also available in: Atom PDF