james2m / canard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
MIT License
125 stars 28 forks source link

Adds functionality to 'inherit' abilities between roles #24

Closed hoenth closed 9 years ago

hoenth commented 9 years ago

Allows role-based ability files to refer to other roles' ability so ability definitions do not need to be repeated across roles

james2m commented 9 years ago

@hoenth could you add a little to the Readme to show it in action?

Thanks so much for the contribution.

Cheers, James

hoenth commented 9 years ago

Done. It's my pleasure James

adamtootle commented 9 years ago

What's the status of this? I'm working on something new and would love to be able to inherit abilities. I can point my gemfile to 0030696 for the time being if need be, just wanted to check and see if it may get merged soon.

Thanks guys!

james2m commented 9 years ago

I’ll try and get the next release out early next week.

james2m commented 9 years ago

I've released this with some other fixes as 0.4.3. Thanks @hoenth