bullet_train-roles icon indicating copy to clipboard operation
bullet_train-roles copied to clipboard

Bullet Train Roles provides a Yaml-based configuration layer on top of CanCanCan.

Results 6 bullet_train-roles issues
Sort by recently updated
recently updated
newest added

The Roles::User module could be named better. It will often be a User, however we're really wanting to include this module in any class that could be the end owner...

Examples I think should be valid: ``` editor: models: project: - archive - where: - archived_at: nil ``` Would be like: `can :archive, Project, [all the other magic], archived_at: nil`...

What I think should be valid examples: ``` editor: models: project: - manage - not: destroy ``` ``` editor: models: project: - manage - not: - destroy ```

When doing `membership.roles = [Role.admin]` we should automatically save the change to make it behave more like Rails' has_many :through association. It will also make upgrading easier because existing Bullet...

When upgrading from 1.0.4 to 1.0.5, Bullet Train's Super Scaffolding system test fails. To reproduce, remove the `1.0.4` version lock in the `Gemfile`, `bundle install`, and: ``` test/bin/setup-super-scaffolding-system-test rails test...