Вопрос

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 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).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top