Roles: Admins pretending to be users!

| Posted: - Last updated:
| Tagged blog
| ~100wrds (~1min)

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.

My site is free of ads and trackers. I record privacy-respecting usage statistics with Fathom.

Was this post helpful to you? Why not ☕ Buy me a coffee or use Brave Browser to send a tip.