itpastorn / webbteknik

Site for my books in Swedish + some experiments
webbteknik
7 stars 9 forks source link

Show page as-function #64

Open itpastorn opened 12 years ago

itpastorn commented 12 years ago

Admins shall be able to impersonate all users

Teachers should be able to impersonate their students

Set as SESSION var: $_SERVER['alias']

Menu should show clearly that is an alias and have a link to revert back to oneself

One must never be able to switch from one alias to another, except through being yourself in between