Authorization_rules requires ruby_parser and it is not working #138

Open
kelso opened this Issue Mar 31, 2012 · 2 comments

Projects

None yet

3 participants

@kelso

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?

@stffn
Owner

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.

@kerrizor

I know its been a couple years, but is there any update on this issue? Just ran into it myself this morning ;)

@ledermann ledermann added a commit to ledermann/declarative_authorization that referenced this issue Sep 8, 2016
@ledermann ledermann Remove rules browser and other dev tools 78caa3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment