Project

General

Profile

Actions

Bug #2114

closed

Backend: Super-Admins can not edit themselves

Added by krileon over 13 years ago. Updated over 13 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


Files

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

Updated by krileon over 13 years ago

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

Actions #2

Updated by krileon over 13 years ago

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

Updated by krileon over 13 years ago

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

Updated by krileon over 13 years ago

  • File deleted (2114.patch)

Updated by krileon over 13 years ago

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

Actions #6

Updated by beat over 13 years ago

  • Target version changed from CB 1.3 to CB 1.3.1
Actions #7

Updated by beat over 13 years ago

There was only one bug:

cb_acl.php line 521: should have had capitals:

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

Updated by beat over 13 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.

Actions

Also available in: Atom PDF