I'm trying to use built-in feature - authorization rules browser. So I added to authorization_rules.rb:
has_permission_on :authorization_rules, :to => :read
When I open http://localhost:3000//authorization_rules
RuntimeError in AuthorizationRulesController#index
Authorization::DevelopmentSupport::Analyzer requires ruby_parser gem
For sure I run
$ gem install ruby_parser
And nothing... same error again. Am I doing something wrong?
We should probably disable the authorization rules browser for now. It is not core functionality and I don't have time to debug this right now.
I know its been a couple years, but is there any update on this issue? Just ran into it myself this morning ;)