Roles: Admins pretending to be users!
source link: https://www.devroom.io/2008/01/19/roles-admins-pretending-to-be-users/?utm_campaign=Feed%3A+ariejan+%28ariejan%7Cdevroom.io%29
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Roles: Admins pretending to be users!
Posted:
2008-01-19
- Last updated:
2019-06-05
Tagged 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. 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
Copyright © 1999-2020 Ariejan de Vroom <[email protected]>
Live now; make now always the most precious time. Now will never come again.
– Jean-Luc Picard
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK