Authoritah v0.1.2
I’ve pushed a new version of my authorisation/permission gem that fixes a small issue found by a developer in my team. It now supports propagating permission rules down the controller inheritance chain.
So given:
class ParentController < ActionController::Base
include Authoritah::Controller
permits :current_user
end
class ChildController < ParentController
end
The ChildController here would inherit the permits :current_user rule from the parent.
Just sudo gem install authoritah to pick up the latest version (v0.1.2). As ever, bug reports/feature requests would be appreciated.
That’s it. Thanks for watching.
Advertisement