Actions
Bug #2720
closedJ1.7: Backend: Misconfigured super-users which are in other groups as well (e.g. Registered) don't see groups above registered in user edit
Bug #2720:
J1.7: Backend: Misconfigured super-users which are in other groups as well (e.g. Registered) don't see groups above registered in user edit
Description
cbacl::get_groups_below_me()
and cb.core.php line 3636 (maybe this could use the acl-function instead of duplicating the code ?)
should not remove anything if a user IS super-admin:
// remove users 'above' me
$i = 0;
while ( $i < count( $gtree ) ) {
if ( in_array( $gtree[$i]->value, $ex_groups ) ) {
array_splice( $gtree, $i, 1 );
} else {
$i++;
}
}
Files
Actions