Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Model with placeholder field object permission not honored #6665
There is an app with model using placeholder field and auth backend checking for object level permission for that model instances but its
perm = user.has_perm(change_perm) or user.has_perm(change_perm, obj)
then everything works.
Few years ago there was a PR enabling object level permission check for placeholder but now it seems only documentation part is left.
This issue can be avoided using
The documentation states "permission on related Model or instance" is honored.
User permission on instance of the model with placeholder field is not honored.