role-based access control. However I needed a process whereby I could do
group-membership-based access control. In my project, content (Posts,
Uploads, Comments, etc.) needed to be protected on a group basis. After
much searching I found a way using the CanCan gem and its "hash of
conditions" capability. I described the solution in an answer to my own
stack overflow question:
I've proven this approach in initial testing. Have yet to push it into
scale testing or production, but CanCan seems to be a well-used gem. Hope
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/v8kwIjur-B0J.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.