Add a 403 template that shows the exception string
authorMagnus Hagander <magnus@hagander.net>
Thu, 13 Jul 2023 12:05:35 +0000 (14:05 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 13 Jul 2023 12:06:24 +0000 (14:06 +0200)
commit1c92e38a810e41501683a06e370913e6b08fb81d
treee56955052ff79c06e2c1a2ca0c71b4a150c0f30d
parent998403da0b27ee19155e32321789a5b1ef468413
Add a 403 template that shows the exception string

We have numerous places where we raise PermissionDenied() errors, but
the default template in use wouldn't show the error message to the user
outside of debug mode. Oops.
templates/403.html [new file with mode: 0644]