Moodle

Add "Log off immediately" to bulk user actions

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: DEV backlog
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Currently, the Administrator has only two ways of logging off all users: (1) put the system into maintenance mode (2) set the Session timeout to some short value. A third way should be available through Site administration -> Users -> Accounts -> Bulk user actions: With selected users -> Log off immediately.

A similar option to log off all users is needed at Course level. Here is a use case: The Teacher has just made a role override or role assignment and wants it to take effect before the class starts some activity. Rather than risking that some Students fail to log off (which could corrupt the activity), the Teacher should be able to give a warning and then force Students to be logged off.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

The logout should not be required anymore if you change roles
But I agree this could be usefull

Show
Petr Škoda (skodak) added a comment - The logout should not be required anymore if you change roles But I agree this could be usefull
Hide
John Isner added a comment -

Petr,
I understood that role information is cached statically in the session, and all role changes are delayed until the next session Has this changed? If so, where can I read about it (please don't say lib/accesslib.php

Show
John Isner added a comment - Petr, I understood that role information is cached statically in the session, and all role changes are delayed until the next session Has this changed? If so, where can I read about it (please don't say lib/accesslib.php
Hide
Petr Škoda (skodak) added a comment -

Read anything by Martín Langhoff that has word performance in it, It is one of the major improvements in 1.9

Show
Petr Škoda (skodak) added a comment - Read anything by Martín Langhoff that has word performance in it, It is one of the major improvements in 1.9
Hide
John Isner added a comment -

I guess you mean the "Catalyst accesslib improvements" of MDL-11180 that Martin describes in http://moodle.org/mod/forum/discuss.php?d=79455. In the discussion, Martin writes

"add/remove privileges from the lowly user ... come into effect immediately. New enrolments don't always appear immediately, but enrolment removal, and capabilities changes are always instant"

So some things happen immediately and some things are delayed. This needs to be documented for users to avoid confusion or worse, but that's another issue.

Show
John Isner added a comment - I guess you mean the "Catalyst accesslib improvements" of MDL-11180 that Martin describes in http://moodle.org/mod/forum/discuss.php?d=79455. In the discussion, Martin writes "add/remove privileges from the lowly user ... come into effect immediately. New enrolments don't always appear immediately, but enrolment removal, and capabilities changes are always instant" So some things happen immediately and some things are delayed. This needs to be documented for users to avoid confusion or worse, but that's another issue.
Hide
Artem Andreev added a comment -

I think our improvment (MDL-16793) can facilitate the creation of new actions. And peoples will be able to distribute its actions in Modules and plugins database.

Show
Artem Andreev added a comment - I think our improvment (MDL-16793) can facilitate the creation of new actions. And peoples will be able to distribute its actions in Modules and plugins database.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: