canard icon indicating copy to clipboard operation
canard copied to clipboard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.

Results 9 canard issues
Sort by recently updated
recently updated
newest added

This enables projects that use Canard to update to the latest version of CanCanCan and handles deprecation warnings for Rails 6 that are resolved in v2.x

Just testing to see if using cancancan 2.3 will resolve the issues in Ruby < 2.2. I doubt it, because I believe this to be an ActiveRecord thing, but we'll...

I believe that the dependency in the gemspec should be `>= 1.1` rather than `~> 1`, so projects happy using CanCanCan v 2.x can continue to do so.

I'll be testing this more, but wanted to get some early feedback. I know the gem isn't _super_ popular, but I'm surprised no one else has run into this yet....

I'm using the canard gem to set up user roles and am running into a test_unit[not found] error. I tried adding test-unit to the Gemfile but it still fails. Disclaimer:...

With Rails 4.0 beta1, devise loads the user model which, in turn, loads canard which checks it for a role matrix. This is fine if the database exists, but as...

I really like how canard simplifies authorization and roles. However, for my particular application I have been agonizing over role_model's inability to scope a role to a particular resource. I...

I ended up not using Canard for a recent project because the "additive" nature of abilities does not include guest abilities. I think the behavior should be, for example: guest,...