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

Online users block shows everyone on the site, not just course participants

XMLWordPrintable

    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • Hide
      1. Add the online users block to the site page.
      2. Simulate logged in users by logging in as a few different users using separate browsers/computers.
      3. Verify that all logged in users still appear in the block.
      4. Create or use a course with separated groups forced (create groups as needed)
      5. Add the online users block.
      6. Log in as a few students from each group
      7. Log in as a student who is in one of the groups
      8. Make sure that you can't see the students from other groups
      9. Verify that all recently logged in users who are part of the student group still appear in the block while others are not.
      10. Add the block to a another course (no groups this time).
      11. Log in as some users and do not go to your test course, but with some users do go into your course
      12. Log in as a final user and go to the course
      13. Make sure you only see the users who went to the test course
      Show
      Add the online users block to the site page. Simulate logged in users by logging in as a few different users using separate browsers/computers. Verify that all logged in users still appear in the block. Create or use a course with separated groups forced (create groups as needed) Add the online users block. Log in as a few students from each group Log in as a student who is in one of the groups Make sure that you can't see the students from other groups Verify that all recently logged in users who are part of the student group still appear in the block while others are not. Add the block to a another course (no groups this time). Log in as some users and do not go to your test course, but with some users do go into your course Log in as a final user and go to the course Make sure you only see the users who went to the test course

      First noticed by Luiggi Sansonetti on Moodle.org French forums but checked on school.demo.moodle. net, the online users block since 3.0 upgrade appears to show everyone, not just members of the course. If you click on a certain name, you may get the message that so-and-so is not enrolled in the course. If I have understood it correctly, this block should only show people enrolled in the course?
      I am going to mark it with a security notice just in case.

            johno John Okely
            marycooch Mary Cooch
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.