Skip to content

Commit

Permalink
Improvement: Grant local/bulkenrol:enrolusers to manager archetype by…
Browse files Browse the repository at this point in the history
… default
  • Loading branch information
abias committed Oct 20, 2021
1 parent 0ae40ab commit 8a7a585
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2021-10-20 - Improvement: Grant local/bulkenrol:enrolusers to manager archetype by default - Thanks to Luca Bösch.
* 2021-10-19 - Improvement: Distinguish warnings caused by empty line or by invalid content - Thanks to Luca Bösch.
* 2021-10-19 - Improvement: Use a enrol option as default - Thanks to gustavorivas96.
* 2021-10-19 - Bugfix: Small typo in a language string - Thanks to Luca Bösch.
Expand Down
5 changes: 4 additions & 1 deletion db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
$capabilities = array(
'local/bulkenrol:enrolusers' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'manager' => CAP_ALLOW
),
),
);

0 comments on commit 8a7a585

Please sign in to comment.