Praetorian Versions Save

A minimalist Crystal authorization system inspired by https://github.com/varvet/pundit.

v0.3.3

4 years ago

Bumped Crystal version to 0.31.1 and Ameba to 0.10.1

v0.3.2

4 years ago

title

v0.3.1

5 years ago

Summary

  • Added an authorise alias for authorize.

v0.3.0

5 years ago

Summary

Praetorian.authorize now works when:

  • Setting a Policy class explicitly in the method call
  • Setting a Policy class explicitly in the object class to be checked
  • Finding the Policy class implicitly by appending Policy to the object variable name