csdl / makahiki

An Open Source "Serious Game" Framework for Sustainability
http://makahiki.readthedocs.org/
MIT License
7 stars 5 forks source link

login as user should not affect real user's state #477

Closed yongwen closed 12 years ago

yongwen commented 12 years ago
  1. currently, if admin login as a user and gets the notification dialog, it clears the notification alert flag, thus when real user login, it will not get the notification. One solution is to check the admin_login_as flag (need to create) when displaying the notification and don't change the state.
  2. currently, there is no difference in the log entry between the admin login as user and the real user except the IPs. we could check the admin_login_as flag when logging and display "_loginas"