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

Loss of the rights of the administrator at updating from 1.7.x to 1.8.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.8.1, 1.8.2
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      LAMP, PHP5, MySQL 5
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      In 1.7.x context is id=1 contectlevel=10 instanceid=1 and all work correctly. But after upgrade moodle not found this context and create new:
      id=xxx contectlevel=10 instanceid=0.
      As the rights of the administrator are appointed in an old context, the administrator cannot open page of additional parameters at updating at all. After updating the manager has no rights in system.
      If manually to remove a new context, and old to correct on id=1 contectlevel=10 instanceid=0, all works correctly.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            mentis Alex Djachenko
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08