Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Check permissions methods expects any model, not a user model on…
…ly (#270) Those checks were wrongly typed as it as those methods accept any model. It also makes no sense to limit the objects to the user as it's the user itself checking for a permission in a given object. Reference: https://docs.djangoproject.com/en/5.1/ref/contrib/auth/#available-authentication-backends
- Loading branch information