TireSwingSoftware/openassign-server — Issue #57: Include more information with permission denied exception
Author: jc0n
Created: 2011-12-09 04:37:33+00:00
State: open
Labels: behavior

It is not that easy to tell why a particular authorizer method causes permissions to be denied. If debugging is enabled I think it is reasonable to include the reason why permission was denied (such as the failing authorizer method) with the exception. For obvious reasons this would be strictly for debugging ie when `settings.DEBUG == True`