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

If you delete the "admin" role and you have just one user with the admin right, the site become inaccessible.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1
    • 1.7.3, 1.8.3, 1.9
    • Roles / Access
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      In the role definition if you delete the "Admin" role the site become unmanageable and every request to the administration forms are rejected. The only solution is to recreate the "Admin" role via SQL commands or via a restoration of backed up tables of role and role_allow_assign.

      Attachments

        Activity

          People

            lazyfish Yu Zhang
            dajan Dominique-Alain Jan
            Nicolas Martignoni Nicolas Martignoni
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07