Skip to content

Commit

Permalink
#9864 Fix userGroups retrieve instead of userGroupIds when adding par…
Browse files Browse the repository at this point in the history
…ticipant
  • Loading branch information
defstat committed Apr 10, 2024
1 parent c9796aa commit bd89cb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ public function fetch($request, $template = null, $display = false)
'recommendOnlyUserGroupIds' => Repo::userGroup()->getCollector()
->filterByContextIds([$request->getContext()->getId()])
->filterByIsRecommendOnly()
->getMany()
->getIds()
->toArray(),
'notPossibleEditSubmissionMetadataPermissionChange' => $this->_managerGroupIds,
'permitMetadataEditUserGroupIds' => Repo::userGroup()->getCollector()
->filterByContextIds([$request->getContext()->getId()])
->filterByPermitMetadataEdit(true)
->getMany()
->getIds()
->toArray(),
'submissionId' => $this->getSubmission()->getId(),
'userGroupId' => '',
Expand Down

0 comments on commit bd89cb1

Please sign in to comment.