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

@ -60,8 +60,9 @@ class Application_Model_User
$type = $this->getType();
$result = false;
if ($type === UTYPE_ADMIN ||
$type === UTYPE_PROGRAM_MANAGER ||
if ($this->isAdmin() ||
$this->isSuperAdmin() ||
$this->isPM() ||
self::isHostOfShow($p_showId)) {
$result = true;
}