Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 1.92 KB

CHANGELOG.md

File metadata and controls

67 lines (41 loc) · 1.92 KB

Changelog

0.1.6

Bumps rexml from 3.2.4 to 3.2.5 (CVE-2021-28965).

0.1.5

View the docs.

  • 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

0.1.4

View the docs.

  • 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

0.1.3

View the docs.

  • Correct grammars and examples in the docs
  • Change actor permissions cache key

0.1.2

View the docs.

  • Fix namespaces/actions should no longer contain periods
  • Implement cache config for faster access to actor permissions

0.1.1

View the docs.

  • General code refactoring
  • Improvements on ActiveRecord backend:
    • Code refactoring
    • Implement cache invalidation

0.1.0

View the docs.

Finished extraction work from my past projects.

  • Implement ActiveRecord backend
  • Implement Actable mixin
  • Implement permissions hash sanitization and checking

0.0.1

View the docs.

Reserved the gem name: https://en.wiktionary.org/wiki/permisi