action_access icon indicating copy to clipboard operation
action_access copied to clipboard

Access control system for Ruby on Rails.

Results 7 action_access issues
Sort by recently updated
recently updated
newest added

I'm trying to minimise my rails gem usage but unable to specify exact rails gems due to action_access depending on `rails`. Looking quickly at this it seems that a Rails...

Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: already initialized constant ActionController::API::MODULES /Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: previous definition of MODULES was here ActionController::RoutingError (undefined method `helper_method' for ActionController::API:Class): app/controllers/application_controller.rb:1:in `' app/controllers/api/postings_tables_controller.rb:1:in `' /Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: already initialized constant ActionController::API::MODULES...

This Pull requests add graceful handling to the controller additions in case the requested controller does not support `"helper_method` Please let me know for any needed changes. Thanks jan

Attempting use action_access in a Rails 5 app that is using using rails api I receive the following: ``` NoMethodError: undefined method `helper_method' for ActionController::API:Class /Users/griley/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/action_access-0.1.1/lib/action_access/controller_additions.rb:51:in `included' ``` This is...

Thanks for an awesome gem! I have found that when I change permissions changes are not applied in development environment. So I have to reload application (with spring / pow)....