Moodle
  1. Moodle
  2. MDL-19190

User filter: Allow filtering by those who are not enrolled as a particular role in any course other than the front page (i.e. site).

    Details

    • Type: New Feature New Feature
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.4, 2.4.1, 2.5, 2.6
    • Fix Version/s: DEV backlog
    • Component/s: Administration
    • Labels:
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Rank:
      5281

      Description

      For maximum flexibility, I think we should be able to see a drop down of the various roles and then perhaps select a context level (Site, Course Category, Course). I think it would be helpful to make it either a positive or negative selection so that you can get all the teachers across the site and perhaps even an option to include or exclude the front page. This seems worth discussing on the forums as well to see what would be most useful for folks. Thanks to Rosario Carco for the suggestion. Peace - Anthony

        Issue Links

          Activity

          Hide
          Michael Skwara added a comment -

          This would be especially helpful for us based on how we manage our enrollments. Being able to use a search query to clear out the accounts of students who have completed their courses and are no longer enrolled in any classes would make user management much easier!

          By selecting users with "no role" the bulk user actions could be easily used to clean up accounts for users who were never enrolled in any courses and so didn't ever make use of their accounts without deleting the accounts of students who were enrolled and didn't "show up" for the course. The option to preserve the accounts of students who are enrolled in courses but didn't log in would be helpful for those of us who need that info for record keeping purposes (an "attendance" record) for the duration of a course.

          Show
          Michael Skwara added a comment - This would be especially helpful for us based on how we manage our enrollments. Being able to use a search query to clear out the accounts of students who have completed their courses and are no longer enrolled in any classes would make user management much easier! By selecting users with "no role" the bulk user actions could be easily used to clean up accounts for users who were never enrolled in any courses and so didn't ever make use of their accounts without deleting the accounts of students who were enrolled and didn't "show up" for the course. The option to preserve the accounts of students who are enrolled in courses but didn't log in would be helpful for those of us who need that info for record keeping purposes (an "attendance" record) for the duration of a course.
          Hide
          Helen Foster added a comment -

          Reopening as this issue is not exactly a duplicate of MDL-15502.

          Show
          Helen Foster added a comment - Reopening as this issue is not exactly a duplicate of MDL-15502 .
          Hide
          Rick Jerz added a comment -

          Recently, I have seen a problem with my Moodle that seems to be along the same problem as stated in this tracker item.

          I have had numerous "bogus" users register on my Moodle. They cannot get into any course because all of my courses require an enrolment key. I do use self-registration, and really don't want to be turning this on and off. I really want to keep this feature enabled.

          In Moodle, I can tell Moodle to delete any user not confirmed within (I use) three days. Works great! However, some of these spamming systems seem to be able to read the URL from the confirmation email they (the spamming system) receives, and it completes the registration. They end here (being a registered user), but that's it because they do not have any enrolment key. So my Moodle end up having bogus users not in any course.

          I would like to have a similar option in User Accounts|Bulk actions to delete users who are not in any course. As far as I can see, I cannot do this. If I knew SQL better, I could probably create a query against the moodle database, but I am not that good with SQL.

          If you think that this should be a separate tracker item, let me know and I can repost it.

          Show
          Rick Jerz added a comment - Recently, I have seen a problem with my Moodle that seems to be along the same problem as stated in this tracker item. I have had numerous "bogus" users register on my Moodle. They cannot get into any course because all of my courses require an enrolment key. I do use self-registration, and really don't want to be turning this on and off. I really want to keep this feature enabled. In Moodle, I can tell Moodle to delete any user not confirmed within (I use) three days. Works great! However, some of these spamming systems seem to be able to read the URL from the confirmation email they (the spamming system) receives, and it completes the registration. They end here (being a registered user), but that's it because they do not have any enrolment key. So my Moodle end up having bogus users not in any course. I would like to have a similar option in User Accounts|Bulk actions to delete users who are not in any course. As far as I can see, I cannot do this. If I knew SQL better, I could probably create a query against the moodle database, but I am not that good with SQL. If you think that this should be a separate tracker item, let me know and I can repost it.
          Hide
          Rick Jerz added a comment -

          (One more addition). I have said "no course", but maybe this tracker item is focusing on "no role." The problem that I have is that I have configured self-registration so that everyone is always a student. So these bogus users do have a "role", then do not have any course. I am not sure if these are the same thing to moodle, that "no role" equals "no course."

          Show
          Rick Jerz added a comment - (One more addition). I have said "no course", but maybe this tracker item is focusing on "no role." The problem that I have is that I have configured self-registration so that everyone is always a student. So these bogus users do have a "role", then do not have any course. I am not sure if these are the same thing to moodle, that "no role" equals "no course."
          Hide
          Helen Foster added a comment -

          Adding 2.4.1 as affects version, since this feature request is still relevant and wanted.

          Show
          Helen Foster added a comment - Adding 2.4.1 as affects version, since this feature request is still relevant and wanted.
          Hide
          Derek Chirnside added a comment -

          Just found tracker this after I posted here:
          https://moodle.org/mod/forum/discuss.php?d=229046

          This is really an alternative suggestion. My aim: one click choices to delete spam accounts.
          Use the filtering options, and then click tick boxes > dropdown Delete.

          -Derek

          Show
          Derek Chirnside added a comment - Just found tracker this after I posted here: https://moodle.org/mod/forum/discuss.php?d=229046 This is really an alternative suggestion. My aim: one click choices to delete spam accounts. Use the filtering options, and then click tick boxes > dropdown Delete. -Derek
          Hide
          Susan Fleming added a comment -

          I would also highly recommend a setting that allows Course Role to be set to Not Student

          Show
          Susan Fleming added a comment - I would also highly recommend a setting that allows Course Role to be set to Not Student

            People

            • Votes:
              29 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated: