Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-5735

A manager can create, export and import a role

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Trivial
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Labels:
      None

      Description

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      1. Log in as an admin and go to Administration > Site administration > Users > Permissions > Define roles.
      2. Click the 'Add a new role' button, leave "Use role or archetype' set as 'No role' and click the continue button
      3. Give the new role a short name, full name, context types where it may be assigned, and allow various permissions, then click the 'Create this role' button.
      4. Check that the new role has been created correctly.
      5. Try editing the role and check that the changes are saved correctly.
      6. Click the export button for the role and save the XML file locally.
      7. Click the 'List all roles' button, then delete the role which you just created.
      8. Click the 'Add a new role' button then for 'Use role preset' choose and upload the XML file saved previously.
      9. Click the continue button and the 'Create this role' button.
      10. Check that the new role has been created exactly as before.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: