Skip to content
Snippets Groups Projects
Commit b76d2a7a authored by Ron Lucke's avatar Ron Lucke
Browse files

fix #937

Closes #937
parent e37ad667
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,10 @@ class Authority
return false;
}
if ($structural_element->range_type === 'user') {
return $structural_element->range_id === $user->id;
}
$perm = $GLOBALS['perm']->have_studip_perm(
$structural_element->course->config->COURSEWARE_EDITING_PERMISSION,
$structural_element->course->id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment