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

Add capability to allow certain users through Maintenance mode

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      prerequisite: setup Moodle mobile and repeat the relevant tests below with the mobile app

      • Log in as an Admin user.
      • Assign the Manager role to allow the new maintenance access capability. Save.
      • In Site Administration settings, turn on Maintenance mode.
      • Log out
      • Log in as an Admin user. (You will have to type moodle/login in the URL to see the login page)
      • See that the Admin user can browse the site as usual.
      • Log in with an account with the role of Teacher or below. (You will have to type moodle/login in the URL to see the login page)
      • See the Maintenance Mode message denoting that the Teacher account cannot get through Maintenance mode.
      • Log in with an account with the role of Manager (You will have to type moodle/login in the URL to see the login page)
      • See that the Manager user can browse the site as usual.
      Show
      prerequisite: setup Moodle mobile and repeat the relevant tests below with the mobile app Log in as an Admin user. Assign the Manager role to allow the new maintenance access capability. Save. In Site Administration settings, turn on Maintenance mode. Log out Log in as an Admin user. (You will have to type moodle/login in the URL to see the login page) See that the Admin user can browse the site as usual. Log in with an account with the role of Teacher or below. (You will have to type moodle/login in the URL to see the login page) See the Maintenance Mode message denoting that the Teacher account cannot get through Maintenance mode. Log in with an account with the role of Manager (You will have to type moodle/login in the URL to see the login page) See that the Manager user can browse the site as usual.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55791_master

      Description

      When our institute does an install, we have a team of testers to look at all the updates and make sure we are good to go live. Unfortunately that requires us to either whitelist IP addresses or temporarily give them access to the moodle/site:config capability.

      I propose we add a capability called maintenanceaccess so that users can be selected to be allowed through maintenance mode.

        Attachments

          Activity

            People

            Assignee:
            syxton Matthew Davidson
            Reporter:
            syxton Matthew Davidson
            Peer reviewer:
            Jake Dallimore Jake Dallimore
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Andrew Lyons Andrew Lyons
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

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