Export user defined roles

Export user defined roles

by Stefan Weidner -
Number of replies: 1
Hi,

i want to export my custom user roles. I configured quite a lot with the gui's help, and now i want to merge the roles from a test system to another one.

Is there a function for this? Or which db-table/file is important? I must admit that i didnt understand the mdl_role tables. Can someone please explain howto export the roles smile

Regards
Stefan
Average of ratings: -
In reply to Stefan Weidner

Re: Export user defined roles

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Stefan,

Please see the roles FAQ for instructions on copying a custom role from one Moodle site to another.

PS Just moving this discussion to the roles and capabilities forum...