CC-3536 : Work out ACL with library on NowPlaying when it's a guest User
This commit is contained in:
parent
1e9348f27f
commit
d12ef1c7a2
8 changed files with 72 additions and 39 deletions
|
@ -26,6 +26,10 @@ class Application_Model_User {
|
|||
public function getId() {
|
||||
return $this->_userInstance->getDbId();
|
||||
}
|
||||
|
||||
public function isGuest() {
|
||||
return $this->getType() == UTYPE_GUEST;
|
||||
}
|
||||
|
||||
public function isHost($showId) {
|
||||
return $this->isUserType(UTYPE_HOST, $showId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue