Sha256: 1ab8ade815ab086ff276f7ac5137dc340c02ef988f7c56006f0f643b789b57c0
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
# Changelog This is mainly to document major new features and backwards-incompatible changes. ## Unreleased - Added `Authority::Authorizer.default` class method which is called before the `default_strategy` proc and delegates to that proc. This can be overridden per authorizer. ## v1.0.0 - Added `config.security_violation_handler` so users can specify which controller method to use when rescuing `SecurityViolation`s - Removed generator to make blank authorizers. On further consideration, one authorizer per model is counterproductive for most use cases, and I'd rather not encourage misuse. ## v1.0.0.pre4 Added generator to make blank authorizers. See `rails g authority:authorizers --help`. ## v1.0.0.pre3 - Rename controller methods (again): - `authorize_actions_on` => `authorize_actions_for` - `authorize_action_on` => `authorize_action_for` - Cleaned up `authorize_action_for` to only accept a `resource` argument (the current user is determined by `authority_user`) ## v1.0.0.pre2 Rename controller methods: - `check_authorization_on` => `authorize_actions_on` - `check_authorization_for` => `authorize_action_on` ## v1.0.0.pre1 - Renamed `config.authority_actions` to `config.controller_action_map`. ## v0.9.0 Initial release (basically)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authority-1.1.0 | CHANGELOG.markdown |