Comments (5)
👍 (make sure you handle namespaced models properly though)
from authority.
@adamhunter - Good point.
I'd say Piano::Key
should look for Piano::KeyAuthorizer
, not PianoKeyAuthorizer
or somesuch thing. Agreed?
from authority.
Also, would you consider this a breaking change, needing a major version bump? If anyone has a CommentAuthorizer
and haven't specified an authorizer for Comment
, all of a sudden they will get switched from ApplicationAuthorizer
. Seems like a small chance, though.
from authority.
I think you can get away with a minor version bump. If anything the person in that use case is broken, not Authority.
from authority.
Done - released 2.5.0.
from authority.
Related Issues (20)
- authorize_action_for: wrong number of arguments when using Sequel gem HOT 11
- How can I silence Authority.logger in test environment? HOT 6
- Should be usable outside of Rails
- controller action that involves data from multiple resources HOT 4
- Update authorization flow diagram HOT 1
- Issue with rails 4.2.5.1 HOT 2
- Is it possible to define multiple authorizers for a single method? HOT 2
- Allow custom opts in `authorize_actions_for`
- Log all authorization attempts? HOT 5
- Authorization with Rails Admin Gem HOT 3
- Could we use authority with active model serializer ? HOT 1
- Anyone have a good implementation of Authority with JSONAPI::Resources? HOT 1
- undefined method can for custom action HOT 2
- Controller action authorization not checked unless specifically adding authorize_actions_for HOT 3
- authority can method not working
- help with ensure_authorization_performed HOT 2
- Help with maintenance? HOT 10
- Instance level rules should rely on instance level default HOT 5
- The workflow for multiple controllers working with one model. HOT 2
- Use of :all_actions and :actions simultaneously HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authority.