In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
163 [In-Portal CMS] Data Management feature request N/A 2009-07-31 06:39 2010-07-22 15:06
alex  
alex  
normal  
closed  
fixed  
 
none 5.1.0-B1  
0
0000163: Auto-expire user session, when user becomes pending/disabled/deleted
When administrator changes user status from active (!) to pending/disabled or deletes active (!) user, then we should auto-expire sessions of that users (in case if they are currently logged in in administrative console or on front-end).
To auto-expire session we should:
1. find session ids of users
2. delete found sessions from UserSession table (by PortalUserId field)
3. delete found session from SessionData table (by SessionKey field)
patch expire_session_of_denied_users.patch (3,845) 2010-03-13 12:57
http://tracker.in-portal.org/file_download.php?file_id=350&type=bug
patch expire_session_of_denied_users_v2.patch (4,048) 2010-04-28 06:45
http://tracker.in-portal.org/file_download.php?file_id=504&type=bug
Issue History
2010-07-22 15:06 alex Note Added: 0002540
2010-07-22 15:06 alex Status resolved => closed
2010-04-28 08:11 alex Note Added: 0002017
2010-04-28 08:11 alex Status reviewed and tested => resolved
2010-04-28 08:11 alex Fixed in Version => 5.1.0-B1
2010-04-28 08:11 alex Resolution open => fixed
2010-04-28 08:11 alex Changeset attached 5.1.x r13462
2010-04-28 07:54 Dmitry Note Added: 0002015
2010-04-28 07:54 Dmitry Assigned To !COMMUNITY => alex
2010-04-28 07:54 Dmitry Status needs testing => reviewed and tested
2010-04-28 06:46 alex Note Added: 0002012
2010-04-28 06:46 alex Assigned To alex => !COMMUNITY
2010-04-28 06:46 alex Status needs work => needs testing
2010-04-28 06:45 alex File Added: expire_session_of_denied_users_v2.patch
2010-04-27 18:41 Dmitry Note Added: 0001996
2010-04-27 18:41 Dmitry Assigned To !COMMUNITY => alex
2010-04-27 18:41 Dmitry Status needs testing => needs work
2010-03-13 12:58 alex Time Estimate Removed 2 =>
2010-03-13 12:58 alex Assigned To => !COMMUNITY
2010-03-13 12:58 alex Developer => alex
2010-03-13 12:58 alex Status active => needs testing
2010-03-13 12:57 alex File Added: expire_session_of_denied_users.patch
2010-01-12 11:39 alex Time Estimate Added 2
2009-07-31 14:08 Dmitry Target Version => 5.1.0
2009-07-31 06:39 alex New Issue

Notes
(0001996)
Dmitry   
2010-04-27 18:41   
Please reassemble the patch.
(0002012)
alex   
2010-04-28 06:46   
Reassembled.
(0002015)
Dmitry   
2010-04-28 07:54   
Tested good.
(0002017)
alex   
2010-04-28 08:11   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000163: Auto-expire user session, when user becomes pending/disabled/deleted
(0002540)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.