Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ShirsenduK
· 10y ago · 0 comments
Cancancan is one best tools to do this in Ruby. Maybe its DSL-like syntax will give you better ideas.
https://github.com/CanCanCommunity/cancancan
Comments
[–]
keth
10y ago
Oh, cancan is alive? Cool. I already looked at the old CanCan repo and it's the best looking library for inspiration I've found so far. Maybe I should dig deeper to see how more complex authorization rules are handled.
[–]
ShirsenduK
OP
10y ago
Yeah cancan was revived by Cancancan :)