0👍
There’s also a user has_perm
check going on which will return False, because permissions aren’t handled the normal way. You can MonkeyType around it, in my case there’s a check if the user is staff and is active, but you can offcourse always return True
def override_user_has_perm(self, *args):
return self.is_staff and self.is_active
User.add_to_class('has_perm', override_user_has_perm)
Source:stackexchange.com