Bug #2114 » 2114_cb.acl.patch
administrator/components/com_comprofiler/library/cb/cb.acl.php | ||
---|---|---|
if ( ! is_numeric( $v ) ) {
|
||
if ( ! $ps ) {
|
||
if ( checkJversion() >= 2 ) {
|
||
$ps = array( 'Public' => 1, 'Registered' => 2, 'Author' => 3, 'Editor' => 4, 'Publisher' => 5, 'Manager' => 6, 'Administrator' => 7, 'Superadministrator' => 8 );
|
||
$ps = array( 'public' => 1, 'registered' => 2, 'author' => 3, 'editor' => 4, 'publisher' => 5, 'manager' => 6, 'administrator' => 7, 'super administrator' => 8 );
|
||
} else {
|
||
$ps = array( 'Public' => 29, 'Registered' => 18, 'Author' => 19, 'Editor' => 20, 'Publisher' => 21, 'Manager' => 23, 'Administrator' => 24, 'Superadministrator' => 25 );
|
||
$ps = array( 'public' => 29, 'registered' => 18, 'author' => 19, 'editor' => 20, 'publisher' => 21, 'manager' => 23, 'administrator' => 24, 'super administrator' => 25 );
|
||
}
|
||
}
|
||
if ( array_key_exists( $v, $ps ) ) {
|
||
... | ... | |
|
||
$msg = null;
|
||
|
||
$cms_admins = $this->mapGroupNamesToValues( array( 'administrator', 'superadministrator' ) );
|
||
$cms_admins = $this->mapGroupNamesToValues( array( 'administrator', 'super administrator' ) );
|
||
|
||
if ( is_array( $user_ids ) && count( $user_ids ) ) {
|
||
$obj = new moscomprofilerUser( $_CB_database );
|