开发者

How Do I Implement an Admin Role With Rails Clearance?

开发者 https://www.devze.com 2023-02-18 18:31 出处:网络
I want an admin role so that I can access some RESTful states while my users cannot. I\'m using Clearance but there is no longer a page on their wiki for how to implement an admin role 开发者_Go百科fo

I want an admin role so that I can access some RESTful states while my users cannot. I'm using Clearance but there is no longer a page on their wiki for how to implement an admin role 开发者_Go百科for Clearance. Does anyone have it working on Rails 3?


I've had success with Aegis. It doesn't guarantee Rails 3 compatibility but I haven't had any issues using it with Rails 3 (3.0.5).

0

精彩评论

暂无评论...
验证码 换一张
取 消