You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a django model which is not the auth user model but it inherits the permissions mixin, which means all the permissions are linked to it and request.user also returns this model instance instead of auth user model instance. How would django rules will work in such case, when we call request.user.has_perm('some_perrm_string')?
The text was updated successfully, but these errors were encountered:
I have a django model which is not the auth user model but it inherits the permissions mixin, which means all the permissions are linked to it and request.user also returns this model instance instead of auth user model instance. How would django rules will work in such case, when we call request.user.has_perm('some_perrm_string')?
The text was updated successfully, but these errors were encountered: