It's so arduous to do this manually. It takes a thousand clicks. Just the checkboxes alone on the reset page is killing me. Is it possible to import roles via the command line? I tried moosh but I cannot even restore a course with moosh because of errors with the roles not being able to be mapped. So I'm trying to find a good way to import the roles.
Is it possible to export/import roles and permissions via cli?
by Diane Soini -
Number of replies: 2
In reply to Diane Soini
Re: Is it possible to export/import roles and permissions via cli?
by Howard Miller -
I'm struggling to understand what you are trying to do. Can we take a step back? Why do you want to do this, why does it take "a thousand clicks"?
In reply to Diane Soini
Re: Is it possible to export/import roles and permissions via cli?
by Tim Hunt -
Is https://docs.moodle.org/311/en/Role_export_and_import what you are looking for?