CC-5208: DJ can try to edit show not assign to him

This commit is contained in:
denise 2013-06-05 12:05:41 -04:00
parent c7d0b6df92
commit bad5b12472
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ class Application_Service_CalendarService
// the user is admin or hosting the show,
// the show is not recorded
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() ) {
!$this->ccShowInstance->isRecorded() ) {
$menu["schedule"] = array(
"name"=> _("Add / Remove Content"),
@ -117,7 +117,7 @@ class Application_Service_CalendarService
}
$isRepeating = $this->ccShow->getFirstCcShowDay()->isRepeating();
if (!$this->ccShowInstance->isRebroadcast()) {
if (!$this->ccShowInstance->isRebroadcast() && $isAdminOrPM) {
if ($isRepeating) {
$menu["edit"] = array(
"name" => _("Edit"),