Bumps rexml from 3.2.4 to 3.2.5 (CVE-2021-28965).
-
Remove
-> { distinct }
from actor-roles has_many association -
Add option to mute pre-0.1.4 ActiveRecord backend initialization warning:
# config/initializers/permisi.rb Permisi.init do |config| # Mute pre-0.1.4 ActiveRecord backend initialization warning config.mute_pre_0_1_4_warning = true end
- Add actor-role uniqueness constraint (previously it was possible to append the same role to an actor many times), if you are upgrading from previous versions, please create the following migration:
add_index :permisi_actor_roles, [:actor_id, :role_id], unique: true
- Show warning when calling "roles.delete" because it won't invalidate the cache
- Correct grammars and examples in the docs
- Change actor permissions cache key
- Fix namespaces/actions should no longer contain periods
- Implement cache config for faster access to actor permissions
- General code refactoring
- Improvements on ActiveRecord backend:
- Code refactoring
- Implement cache invalidation
Finished extraction work from my past projects.
- Implement ActiveRecord backend
- Implement
Actable
mixin - Implement permissions hash sanitization and checking
Reserved the gem name: https://en.wiktionary.org/wiki/permisi