Issue Details (XML | Word | Printable)

Key: MDL-13064
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: John Isner
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Add "Log off immediately" to bulk user actions

Created: 20/Jan/08 04:33 AM   Updated: 31/Dec/08 09:38 PM
Return to search
Component/s: Administration
Affects Version/s: 1.9
Fix Version/s: None

Issue Links:
Dependency
 
Relates
 

Participants: Artem Andreev, John Isner and Petr Skoda
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 20/Jan/08 05:07 AM
The logout should not be required anymore if you change roles
But I agree this could be usefull

John Isner added a comment - 20/Jan/08 05:20 AM
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

Petr Skoda added a comment - 20/Jan/08 06:22 AM
Read anything by Martín Langhoff that has word performance in it, It is one of the major improvements in 1.9

John Isner added a comment - 20/Jan/08 06:57 AM
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.


Artem Andreev added a comment - 08/Oct/08 03:19 PM
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.