You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On our website we need the coursearchiver to be used by users in the manager system role.
To do so, I did the following:
A) Created a capability (tool/coursearchiver:view) in the database table (mdl_capabilities)
B) Changed the code in the cousearchiver/settings.php file, commenting out the lines 27, 75, 76 and adding the capability information to the line 72: $ADMIN->add('courses', new admin_externalpage('toolcoursearchiver', get_string('coursearchiver', 'tool_coursearchiver'), "$CFG->wwwroot/$CFG->admin/ tool/coursearchiver/index.php", 'tool/coursearchiver:view'));
C) Assigned that capability to the manager system role.
It's working fine, but I don't know if this way is the best and if it doesn't involve security issues.
So I'm reporting this experience just to suggest inserting a feature in the coursearchiver that allows its use for users allocated as managers but not as site administrators.
Best regards,
Osvaldo
The text was updated successfully, but these errors were encountered:
I'd like to add my vote for being able to run Course Archiver under other users/roles besides admin. One of the schools whose Moodle I manage has a large number of old courses they need to archive (going back years). Because it's such a large task, they have divided the work among 4 people. In order to run Course Archiver, we've had to give them admin privileges, with a warning not to touch anything else in the system - which is not ideal.
Alternatively, we could have created a single user account w/admin privileges and let them share that, but that has its own issues.
Ideally, having a "tool/coursearchiver" capability that we could assign to a manager or similar role would solve both our access and accountability problems.
Hello!
On our website we need the coursearchiver to be used by users in the manager system role.
To do so, I did the following:
It's working fine, but I don't know if this way is the best and if it doesn't involve security issues.
So I'm reporting this experience just to suggest inserting a feature in the coursearchiver that allows its use for users allocated as managers but not as site administrators.
Best regards,
Osvaldo
The text was updated successfully, but these errors were encountered: