Skip to content

Commit

Permalink
pkp/pkp-lib#5047 Don't allow galleys to be added or edited in publish…
Browse files Browse the repository at this point in the history
…ed publications
  • Loading branch information
NateWr authored and ajnyga committed Sep 24, 2019
1 parent 61e9d0c commit 96b146b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ function getRowInstance() {
return new ArticleGalleyGridRow(
$this->getSubmission(),
$this->getPublication(),
!empty(array_intersect([ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_ASSISTANT, ROLE_ID_AUTHOR], $this->getAuthorizedContextObject(ASSOC_TYPE_USER_ROLES)))
$this->canEdit()

);
}

Expand Down

0 comments on commit 96b146b

Please sign in to comment.