Simon

Results 3 comments of Simon

Thanks for your solutions. I solved it using a separate Authorize class that runs before the users plugin: ``` Configure::write('Auth.authorize', [ 'ForceLogout', 'CakeDC/Auth.Superuser', 'CakeDC/Auth.SimpleRbac', ]); ``` That class checks if...

> Security issue is not a problem, as the id is encrypted by the server and even if the user know another user's id, he won't be able to inject...

To force a re-login (invalidate rememberme cookie and current session) it might also be useful, to store the current PHP session-ID in the database (if file-based session handling is used)....