diff --git a/course/category.php b/course/category.php index ad0267f1151..cfb92288352 100644 --- a/course/category.php +++ b/course/category.php @@ -112,9 +112,11 @@ } /// Print link to roles - echo ''; + if (has_capability('moodle/role:assign', $context)) { + echo ''; + } /// Print the category selector $displaylist = array();