Permissions fixes for Super Admin users
This commit is contained in:
parent
4179123ce0
commit
0eab0c609b
8 changed files with 16 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue