CC-3452: Live Stream: DJs assigned to the show and Program Managers should
be able to control switches and able to kick out connection - kickout buttons and switch buttons are now visible to everyone. - clicking buttons without correct permission will return proper error msg.
This commit is contained in:
parent
2beadc9301
commit
4595da9087
10 changed files with 98 additions and 62 deletions
|
@ -30,6 +30,10 @@ class Application_Model_User {
|
|||
public function isHost($showId) {
|
||||
return $this->isUserType(UTYPE_HOST, $showId);
|
||||
}
|
||||
|
||||
public function isPM() {
|
||||
return $this->isUserType(UTYPE_PROGRAM_MANAGER);
|
||||
}
|
||||
|
||||
public function isAdmin() {
|
||||
return $this->isUserType(UTYPE_ADMIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue