Skip to content
Snippets Groups Projects
Commit 959eb954 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

respect configuration in studycourses, fixes #1648

Closes #1648

Merge request studip/studip!1059
parent db7a6e02
No related branches found
No related tags found
No related merge requests found
......@@ -323,9 +323,8 @@ class Consultation_AdminController extends ConsultationController
if ($this->range instanceof Course) {
$this->search_object = new PermissionSearch('user_in_sem', _('Person suchen'), 'user_id', [
'seminar_id' => $this->range->getRangeId(),
'sem_perm' => ['user', 'autor'],
'sem_perm' => $permissions,
]);
}
if (Request::isPost()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment