devroom.io/drafts/2008-01-19-roles-admins-pretending-to-be-users.md
Ariejan de Vroom dbae98c4c0 Moar updates
2013-03-24 14:27:51 +01:00

14 lines
641 B
Markdown

---
title: "Roles: Admins pretending to be users!"
kind: article
slug: roles-admins-pretending-to-be-users
created_at: 2008-01-19
tags:
- Blog
---
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. <a href="http://blog.kabisa.nl/2008/01/19/login_as-how-to-login-as-a-different-user/">You can read the article here</a>.