Permissions fixes for Super Admin users
This commit is contained in:
parent
4179123ce0
commit
0eab0c609b
8 changed files with 16 additions and 15 deletions
|
@ -987,7 +987,7 @@ SQL;
|
|||
{
|
||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||
$user = new Application_Model_User($userInfo->id);
|
||||
$isAdminOrPM = $user->isUserType(array(UTYPE_ADMIN, UTYPE_PROGRAM_MANAGER));
|
||||
$isAdminOrPM = $user->isUserType(array(UTYPE_SUPERADMIN, UTYPE_ADMIN, UTYPE_PROGRAM_MANAGER));
|
||||
|
||||
// get only the files from the playlists
|
||||
// we are about to delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue