Posted by Zeke Harris |
|
So I've started adding random permissions to see what happens and I've noticed that when you get a permission denied it's fairly ugly. It simply raises a Django exception and bails on you.
Is there a plan for that to be a pretty "Permission Denied to view this wikisnip" page? Thanks! What? You wanted a sig? |
|
Posted by Herbert Poul |
|
sure.. there is even a plan to document it ;)
in the meantime.. add 'sphene.community.middleware.PermissionDeniedMiddleware' to the end of your MIDDLEWARE_CLASSES this won't give a 'Permission denied to view wiki snip' but a 'You do not have permission to view this page.' . Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Zeke Harris |
|
Excellent. :) What? You wanted a sig? |
Please login to post a reply.