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

Visibility over-ride for teacher for blocks in editing mode does not seem to be working

    XMLWordPrintable

Details

    • MOODLE_21_STABLE, MOODLE_23_STABLE
    • Hide

      1. As an admin, add a block to a course.
      2. Adjust permissions so that teachers should not be able to view or edit that particular block.
      3. Log in as a teacher and turn editing on.
      4. Note that the teacher can edit the configuration settings for the block and can see the block when editing mode is on.

      Show
      1. As an admin, add a block to a course. 2. Adjust permissions so that teachers should not be able to view or edit that particular block. 3. Log in as a teacher and turn editing on. 4. Note that the teacher can edit the configuration settings for the block and can see the block when editing mode is on.

    Description

      Hi. I apologize if this is a duplicate. I've scoured the tracker and couldn't find anything similar. I was on my way to the Using Moodle forums to check there next, but they appear to be unavailable to me at this time.

      I need to make several blocks invisible to teachers in both view and editing mode. I have tested it on a live web server and on my desktop version. I have not made any changes to permissions on either site for the teacher role. Attached pics are from my desktop, out of the box Moodle. I am using a new HTML block to test, but I am getting the same results for all and any blocks: the teacher can not only view the block in edit mode, she can check her own permissions and see that she is not supposed to be able to view or edit the block.

      Attachments

        Issue Links

          Activity

            People

              moodle.com moodle.com
              lsmith Lesli Smith
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: