Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17081

Implement import/export "Permissions" settings for "Manage roles" tab

    XMLWordPrintable

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      1/ try exporting of role xml (from role view page)
      2/ test adding of new roles - based on other role, archetype or xml preset
      3/ test resetting of existing role to other role, archetype or xml preset (note you can intentionally select both role and xml at the same time, this is useful if xml does not contain all capabilities)
      4/ test editing of roles
      5/ test deleting of roles

      6/ test new installation - verify the roles,contextlevels,archetypes,allowxxx, etc. are the same as before

      Show
      1/ try exporting of role xml (from role view page) 2/ test adding of new roles - based on other role, archetype or xml preset 3/ test resetting of existing role to other role, archetype or xml preset (note you can intentionally select both role and xml at the same time, this is useful if xml does not contain all capabilities) 4/ test editing of roles 5/ test deleting of roles 6/ test new installation - verify the roles,contextlevels,archetypes,allowxxx, etc. are the same as before
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w26_MDL-17081_m26_roles2
    • Story Points:
      20
    • Sprint:
      BACKEND Sprint 1

      Description

      Suggest to implement "import / export" settings for the role "permissions". See the two proposed solutions (probably only one need to be implemented)... This is particularly useful for larger "enterprise-level" moodle implementation as we often have staging, testing, and development moodle installations and if we have customized role settings, it is a pain in the butt to manually change all of them one by one (it's a long list of the "Permissions" for all the newly deployed moodle instances. Thanks!

        Balsamiq Wireframes

          Attachments

          1. Import-export-roles.bmml
            6 kB
          2. Import-export-roles.bmml
            6 kB
          3. Import-export-roles.bmml
            6 kB
          4. Import-export-roles.bmml
            3 kB
          5. Import-export-roles.png
            Import-export-roles.png
            74 kB
          6. manager-existingsite.xml
            21 kB
          7. mdl17081.diff
            3 kB
          8. mdl17081.diff
            30 kB
          9. mdl17081-v2.diff
            31 kB
          10. mdl17081-v3.diff
            30 kB
          11. Pre-import-screen.bmml
            8 kB
          12. Pre-import-screen.bmml
            8 kB
          13. Pre-import-screen.png
            Pre-import-screen.png
            80 kB
          14. remap-of-roles.bmml
            5 kB
          15. remap-of-roles.png
            remap-of-roles.png
            87 kB

            Issue Links

              Activity

                People

                • Votes:
                  39 Vote for this issue
                  Watchers:
                  40 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13