CC-5208: DJ can try to edit show not assign to him
This commit is contained in:
parent
c7d0b6df92
commit
bad5b12472
|
@ -79,7 +79,7 @@ class Application_Service_CalendarService
|
||||||
// the user is admin or hosting the show,
|
// the user is admin or hosting the show,
|
||||||
// the show is not recorded
|
// the show is not recorded
|
||||||
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
|
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
|
||||||
!$this->ccShowInstance->isRecorded() ) {
|
!$this->ccShowInstance->isRecorded() ) {
|
||||||
|
|
||||||
$menu["schedule"] = array(
|
$menu["schedule"] = array(
|
||||||
"name"=> _("Add / Remove Content"),
|
"name"=> _("Add / Remove Content"),
|
||||||
|
@ -117,7 +117,7 @@ class Application_Service_CalendarService
|
||||||
}
|
}
|
||||||
|
|
||||||
$isRepeating = $this->ccShow->getFirstCcShowDay()->isRepeating();
|
$isRepeating = $this->ccShow->getFirstCcShowDay()->isRepeating();
|
||||||
if (!$this->ccShowInstance->isRebroadcast()) {
|
if (!$this->ccShowInstance->isRebroadcast() && $isAdminOrPM) {
|
||||||
if ($isRepeating) {
|
if ($isRepeating) {
|
||||||
$menu["edit"] = array(
|
$menu["edit"] = array(
|
||||||
"name" => _("Edit"),
|
"name" => _("Edit"),
|
||||||
|
|
Loading…
Reference in New Issue