quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

Changing role or disabling account for logged in users #70

Closed ataylor32 closed 12 years ago

ataylor32 commented 12 years ago

Let's say that you wanted to change a user's role or disable their account. If you did either of these things while that user was logged in, it wouldn't take effect until that user logged out and back in (or until their session naturally expired). This isn't likely to be a big deal, but, in certain circumstances, it could be. Imagine if you wanted to disable their account because they were no longer trustworthy, yet they were logged in at the time.

quickapps commented 12 years ago

I think this will require to verify user's session against DB on every request. Im working on it