Roles: Admins pretending to be users!
19 Jan, 2008
1 minute read

Most applications have some sort of role system. You have administrators, who can do basically everything, semi-administrators and “regular Joe” users.

Now, sometimes you want, as an administrator, be able to login as a user to solve some problem, or manage settings for a user, or whatever.

Harm did a very nice write-up on how we did this in a Rails project of ours. You can read the article here.

If you're seeing this message you've probably enabled some form of adblocker. I respect that.

I use this space to show recommended books on in relation to the post you just read. This generates a small income that allows me to buy a book every now and then.