Moodle
  1. Moodle
  2. MDL-9412

Teachers are able to change a setting that makes it so they can't access their own course.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Rank:
      11951

      Description

      In a course's settings, a teacher can choose "This course is not available to students."

      Doing so, makes it so the course is no longer available to that teacher.

      It seems strange that you would allow a teacher to disqualify himself/herself from viewing his/her own course.

      To overcome this bug, the site admin can assign the teacher the role of "Administrator" for the course, then the teacher can work with a "hidden" course.. This way the teacher is allowed to work on creating a course that is not available to students.

      Perhaps there is some way that you can make it so the site admin doesn't need to do this.

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          Please check the moodle/course:viewhiddencourses.

          Show
          Petr Škoda added a comment - Please check the moodle/course:viewhiddencourses.
          Hide
          Charles Kelly added a comment -

          Perhaps someone could write a little in the Wiki about how to do this.

          This page doesn't have any useful information yet.
          http://docs.moodle.org/en/Capabilities/moodle/course:viewhiddencourses

          I still wonder if it's a good idea to let people with the default role of teacher, have the possibility of locking themselves out of their own courses.

          It seems that, at least, you could put up a warning message that "This course is not available to students" will mean that it is also not available to the teacher.

          Or perhaps, you could at least temporarily change the $string to "This course is not available to students or teachers without administration rights." This might make it clear to teachers that by choosing this option, they, themselves, will not be able to access the course.

          Show
          Charles Kelly added a comment - Perhaps someone could write a little in the Wiki about how to do this. This page doesn't have any useful information yet. http://docs.moodle.org/en/Capabilities/moodle/course:viewhiddencourses I still wonder if it's a good idea to let people with the default role of teacher, have the possibility of locking themselves out of their own courses. It seems that, at least, you could put up a warning message that "This course is not available to students" will mean that it is also not available to the teacher. Or perhaps, you could at least temporarily change the $string to "This course is not available to students or teachers without administration rights." This might make it clear to teachers that by choosing this option, they, themselves, will not be able to access the course.
          Hide
          Charles Kelly added a comment -

          I went ahead and added this into the Wiki.
          If it is not quite correct, perhaps you could edit it a bit.

          == How to change this setting so teachers can see courses that they themselves have hidden. ==
          Written April 18, 2007, based on Moodle 1.8

          1. Go to admin/roles/manage.php?action=edit&roleid=3 (Or you can navigate there by using this route: Administration >> Users >> Permissions >> Define Roles (then click "Teacher")
          2. Do a "find" in your browser for "course:viewhiddencourses" or browse down to the "Courses" settings.
          3. Click the 2nd radio button ("Allow")
          4. Scroll to the bottom of the page and click "Save changes."
          Show
          Charles Kelly added a comment - I went ahead and added this into the Wiki. If it is not quite correct, perhaps you could edit it a bit. == How to change this setting so teachers can see courses that they themselves have hidden. == Written April 18, 2007, based on Moodle 1.8 Go to admin/roles/manage.php?action=edit&roleid=3 (Or you can navigate there by using this route: Administration >> Users >> Permissions >> Define Roles (then click "Teacher") Do a "find" in your browser for "course:viewhiddencourses" or browse down to the "Courses" settings. Click the 2nd radio button ("Allow") Scroll to the bottom of the page and click "Save changes."
          Hide
          Petr Škoda added a comment -

          Do not use direct links, because the role id may be different -

          Show
          Petr Škoda added a comment - Do not use direct links, because the role id may be different -

            People

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

              Dates

              • Created:
                Updated:
                Resolved: