Show Tracebacks to a certain set of users
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'd like to be able to configure DEBUG a bit further. Well, not really. I'd like something like the ADMINISTRATORS setting to configure which users to show tracebacks to.
To explain a bit further, here's my usecase: We have written a network management tool that is used both by the network administrators and the users. Users can see their status, terminate their contract, etc. Administrators create contracts, assign subnets, handle payments, and so on. Each of our developers is also an administrator, and all administrators have a rough understanding of how the software does things. We're not super-professional or anything and it's a rather large project, so bugs happen. No we obviously can't just enable DEBUG - that would be moronic. But we do want the administrators to see the tracebacks they cause. We can't, however, put them all in the ADMINISTRATORS setting, because the tracebacks often contain sensitive information. Therefore, we'd like to be able to configure, e.g. via the permissions system, to whom tracebacks are shown. Does that make it clear?