I thought to store the type of the currently logged in user in session[:user_type]
. The options are: "admin", "end_user", "demo" (may add more user types in the future).
I wonder if it is safe to do that in Rails 3 application.
Can user change somehow the session[:user_type]
from "demo" to "admin" ?