hirokiky/django-keeper

User.has_perm always fail

Opened this issue · 0 comments

  1. obj in auth backend's has_perm function is optional.
  2. User's has_perm function passes a user object to auth backend's has_perm function, so keeper's operator always returns False.

The first issue maybe we can use global context when obj is None.