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

Add administrator and remove guests from list of roles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: User Tours
    • Labels:
    • Testing Instructions:
      Hide
      1. Note: Most of these changes are covered extensively by unit tests
      2. Navigate to Site administration > Appearance > User tours
      3. Click to create a new tour
      4. Under the list of Filters, for role:
        1. Confirm that the Guest role is not present
        2. Confirm that the administrator is present in the list
        3. Confirm that the list is alphabetically sorted (Switch language to confirm again)
      5. Create a tour for a student with a pathmatch of /course/view.php% and add some steps
      6. As admin view a course
        1. Confirm that there is no tour for you
      7. As a student view the same course
        1. Confirm that you are shown the tour
      8. Edit the tour again and make it visible to both Administrators and Students
      9. As a student view the same course
        1. Confirm that there is no tour for you
      10. As a student view the same course
        1. Confirm that you are shown the tour
      Show
      Note: Most of these changes are covered extensively by unit tests Navigate to Site administration > Appearance > User tours Click to create a new tour Under the list of Filters, for role: Confirm that the Guest role is not present Confirm that the administrator is present in the list Confirm that the list is alphabetically sorted (Switch language to confirm again) Create a tour for a student with a pathmatch of /course/view.php% and add some steps As admin view a course Confirm that there is no tour for you As a student view the same course Confirm that you are shown the tour Edit the tour again and make it visible to both Administrators and Students As a student view the same course Confirm that there is no tour for you As a student view the same course Confirm that you are shown the tour
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56509-master

      Description

      As we have discussed in person, guest should not be available on list of roles because it can cause confusion for users.
      The Administrator pseudo-role should appear in the list to allow tours to be created just for administrators.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16