I started using the rails-authorization-plugin last week. It is a really awesome and flexible plugin. I don’t have much to say about it yet.
But there is one thing that I find confusing:
In order to set a role for a user, you can do it like this:
user.is_admin_for(group)
To check if a user has a role, you can do it like this:
user.is_admin_for?(group)
See the subtle difference? Well, I think the difference is too subtle. Is there a better way to set a role for a user? Haven’t found it yet.
Other than that, the plugin is awesome. It’s super flexible and the integration is pretty seamless. Can’t wait to learn more about it.
