Django: how does one know which permission failed on a particular request?
MaybeThisIsRu opened this issue · comments
Since permission_required
takes a tuple, I imagined it would follow that which one of the permissions specified failed would also be available to us. This way, one is able to specify a tailor-made error message that is helpful to the end-user.
Any thoughts/direction for this one?