Bug #3540
closedJ2.5: When viewing a user as an administrator that user is considered a moderator
Description
On Joomla 2.5 when viewing a user as an administrator due to the usage of $this->amIaSuperAdmin() in get_group_children_ids it results in calls to the function to return all usergroups when instead it should just return the children of that gid, but the function has no idea this is taking place. Need a more appropriate way to get groups below a group id.
https://www.joomlapolis.com/forum/153-professional-member-support/201293-moderator-menu-not-showing
Files
Updated by krileon over 12 years ago
This was implemented in r1744.
Fixed bug #3246 : J2.5: New child usergroups of parent Public can't be used in CB
So new implementation needs to regression test the above to ensure it still works.
Updated by krileon over 12 years ago
- File 3540.patch 3540.patch added
- Status changed from Assigned to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Confirmed path fixes this issue and the issue #3246 resolved. It now checks if the GID is the super administrator usergroup instead of testing if the viewing user is the super administrator usergroup.
Updated by beat over 12 years ago
- Status changed from Resolved to Closed
- Estimated time set to 2:00 h
r1801 fixes this.
Needs tests.
To Test:
Access CB menus and tasks in backend as moderator and as super-admin.