kan
kan copied to clipboard
Simple, functional authorization library and role management for ruby
Is it possible to scope resources for viewing? This way, we could scope relations for a given user. Something like: ```ruby class Post::Abilities include Kan::Abilities register_scope('index') do |user| if user.admin?...
We can use kan not only roles and user. Also, same interface is good for working with permissions, experiments and etc. That's why we can start use plugin system for...
It will be really important to setup any meta information to role for abilities list. Now we want to allow developers setup it and in next iteration use it in...
for inspiration: https://github.com/prey/gdpr_rails
Reference to #6