Am Montag, 16. November 2009 schrieb Mark Mansour:
> What is v1.0 going to look like? What do you feel it is missing?
That's an interesting point. We should collect some opinions on what's
missing for a 1.0. My personal feeling is that there are a few rough edges
still. Some points on the list:
* Wildcard handling on authorization checks, e.g.
permitted_to?(:read, an_object, :dont_check => :status)
Up to now, you can only check by type (no attributes) or the complete
object.
* (Some) access control on the attribute level, but the implementation might
be very invasive.
* Custom conditions and find scopes as alternative to if_attribute rules.
A different perspective would be to emphasize the authorization developer
tools. Then, I'd say a 1.0 is still some time away. Here, we'd need DB rules
backend and a mature rules editing GUI.
Other opinions?
> That said, I guess there is nothing stopping anyone
> contacting the RailsEnvy/Rails5 podcasts and getting the word out.
Good timing:
http://railscasts.com/episodes/188-declarative-authorization -- I
haven't watched it yet.
Steffen