Skip to content

Releases: inossidabile/protector

v0.7.1

02 Dec 16:52
Compare
Choose a tag to compare
  • AR::Base.new {} fixed
  • Potential recursion in complicated lambda conditions fixed
  • Automatic restriction extended to associations internal builders

v0.7.0

20 Oct 12:14
Compare
Choose a tag to compare

:view rule has been replaced with :read for better semantic. The first is now deprecated and will be turned into a custom rule on 1.0 milestone.

v0.6.4

17 Sep 18:18
Compare
Choose a tag to compare

Critical bug leading to accidental unrestriction of relation fixed

v0.6.3

17 Sep 12:28
Compare
Choose a tag to compare
  • strong_parameters integration fixed (broken in 0.6.2)

v0.6.2

16 Sep 11:18
Compare
Choose a tag to compare
  • Consistency between custom and built-in rules improved on the Meta DSL level (interface is still same but expected to be more bulletproof in edge cases)
  • Added .creatable? on a base class level: Model.restrict!(current_user).creatable?

v0.6.1

31 Aug 14:31
Compare
Choose a tag to compare
  • Compatibility with eager loading made from within of protection scopes improved
  • create and create! made to work properly

v0.6.0

26 Aug 19:56
Compare
Choose a tag to compare

Protection block scope calls made to merge

v0.6.0.beta.1

19 Aug 13:21
Compare
Choose a tag to compare
v0.6.0.beta.1 Pre-release
Pre-release

Protection block scope calls made to merge

The release can break backward compatibility (but it should not). Please try it out before we mark it as stable and raise issues if something goes wrong.

v0.5.5

19 Aug 13:20
Compare
Choose a tag to compare

Important bug making Protector to interfere model initialization even when it's unprotected fixed.

v0.5.4

31 Jul 08:56
Compare
Choose a tag to compare

Invalidation exception extended with an interpolation argument called field. Default localization is now: "Access denied to '%{field}'".