Permissions fixes for Super Admin users

This commit is contained in:
Albert Santoni 2014-06-20 17:43:20 -04:00
parent 4179123ce0
commit 0eab0c609b
8 changed files with 16 additions and 15 deletions

View file

@ -15,7 +15,7 @@ class CcSubjs extends BaseCcSubjs {
public function isAdminOrPM()
{
return $this->type === UTYPE_ADMIN || $this->type === UTYPE_PROGRAM_MANAGER;
return $this->type === UTYPE_ADMIN === UTYPE_SUPERADMIN || $this->type === UTYPE_ADMIN || $this->type === UTYPE_PROGRAM_MANAGER;
}
public function isHostOfShow($showId)