Project

General

Profile

Bug #2114

Backend: Super-Admins can not edit themselves

Added by krileon over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
30 November 2010
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

When attempting to edit ones self in backend the super admin is presented with a permissions error. Appears present in all releases. Seams something regarding J1.5 ACL was adjusted? All adjustments should've been J1.6 specific.

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,140/id,147240/#147240

2114_cb.acl.patch (1.69 KB) 2114_cb.acl.patch krileon, 01 December 2010 03:56 PM
2114_cb.tables.patch (1.12 KB) 2114_cb.tables.patch krileon, 01 December 2010 03:56 PM
2114_cb.core.patch (1013 Bytes) 2114_cb.core.patch krileon, 01 December 2010 03:56 PM
2114_controller.user.patch (897 Bytes) 2114_controller.user.patch krileon, 01 December 2010 03:56 PM
2114_controller.default.patch (2.66 KB) 2114_controller.default.patch krileon, 01 December 2010 03:56 PM

History

#1 Updated by krileon over 8 years ago

Reviewing source appears the function mapGroupNamesToValues was added which altered get_users_permission the function responsible for checking the permissions levels.

#2 Updated by krileon over 8 years ago

  • File 2114.patch added
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by krileon over 8 years ago

  • Subject changed from super admins can edit their selves in backend to super admins can not edit their selves in backend

#4 Updated by krileon over 8 years ago

  • File deleted (2114.patch)

#5 Updated by krileon over 8 years ago

Patch is multi-part to fix all locations of mapGroupNamesToValues usage.

#6 Updated by beat over 8 years ago

  • Target version changed from CB 1.3 to CB 1.3.1

#7 Updated by beat over 8 years ago

There was only one bug:

cb_acl.php line 521: should have had capitals:

        $cms_admins                        =    $this->mapGroupNamesToValues( array( 'Administrator', 'Superadministrator' ) );

#8 Updated by beat over 8 years ago

  • Subject changed from mapGroupNamesToValues non-functional in various locations to Backend: Super-Admins can not edit themselves
  • Status changed from Resolved to Closed
  • Estimated time set to 1:00 h

mapGroupNamesToValues non-functional in various locations : not true, only in one location.

Fixed a outlined in comment #7 above in r1326 .

Thanks for the analysis, Kyle.

Also available in: Atom PDF