Skip to content
Snippets Groups Projects
Commit e633a7c3 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

respect configuration in studycourses, fixes #1648

Closes #1648

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