django-rules
django-rules copied to clipboard
Django: how does one know which permission failed on a particular request?
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?
I think a similar enhancement was being discussed in #63