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

Course creator can see "site administration" on administration block

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin and assign a user course creator role
      2. Login as that user and make sure you don't see "Restore course option" under site administration.
      3. Go to a category management page such http://localhost/stable_master/course/management.php?categoryid=1 and make sure in navigation there is no "Restore link" under category management.
      Show
      Login as admin and assign a user course creator role Login as that user and make sure you don't see "Restore course option" under site administration. Go to a category management page such http://localhost/stable_master/course/management.php?categoryid=1 and make sure in navigation there is no "Restore link" under category management.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-50340-master

      Description

      An inconsistency appears on the display of the administration block for the role course creotor.

      The course creator can see the "Site Administration" menu with the features:

      • management categories
      • restoration

      As category management and restoration from a course category.

      See attached screen prints.

      After checking the definition of roles "during Head", his role has not yet no authorization:

      • Course category> Manage categories
      • Racing> Restore races

      The use of these permissions is respected, users see the functionality but can not use it. Example "Restoration" with error

      However, this is inconsistent and generates questions.
      Would it be possible to correct this, please
      Marie

        Attachments

        1. As-admin.png
          As-admin.png
          119 kB
        2. capability.png
          capability.png
          10 kB
        3. capability-course-creator.png
          capability-course-creator.png
          18 kB
        4. Error-restore.png
          Error-restore.png
          6 kB
        5. jira-capture-screenshot-20150527-082159-758.png
          jira-capture-screenshot-20150527-082159-758.png
          95 kB
        6. view.png
          view.png
          16 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  6/Jul/15