Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
Add missing capability for H5P
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 authored Dec 11, 2024
1 parent 17832f0 commit d60d6f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions opt/adler/moodle/adler_setup/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ function do_adler_roles_exist() {
'moodle/restore:rolldates',
'moodle/restore:uploadfile',
'moodle/restore:userinfo',
'moodle/restore:viewautomatedfilearea'
'moodle/restore:viewautomatedfilearea',
'moodle/h5p:deploy'
];
foreach ($capabilities_adler_manager as $capability) {
assign_capability($capability, CAP_ALLOW, $role_adler_manager_id, context_system::instance());
Expand Down Expand Up @@ -142,4 +143,4 @@ function do_adler_roles_exist() {

// activate german language pack
install_language_pack('de');
}
}

0 comments on commit d60d6f2

Please sign in to comment.