Skip to content

Base Policy functionality

Compare
Choose a tag to compare
@ilanusse ilanusse released this 02 Dec 18:29
· 21 commits to master since this release

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