Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization_rules requires ruby_parser and it is not working #138

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

Authorization_rules requires ruby_parser and it is not working #138

kelso opened this issue Mar 31, 2012 · 2 comments
Labels

Comments

@kelso
Copy link

kelso commented Mar 31, 2012

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
Copy link
Owner

stffn commented Apr 27, 2012

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
Copy link

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

ledermann added a commit to ledermann/declarative_authorization that referenced this issue Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants