Fix wiki/signup permission handling
authorMagnus Hagander <magnus@hagander.net>
Tue, 20 Nov 2018 13:30:34 +0000 (14:30 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 20 Nov 2018 13:30:34 +0000 (14:30 +0100)
commitfebeaaad6905a112cb35f2faa585a028c0980b44
treea9685fe24e380304e23e19bebf4384c65a6a5bd1
parentd8d6f42293f0dab5ec67b708748801573a290d3d
Fix wiki/signup permission handling

1. Show permission denied, not 404 not found, if a user does not have
permissions on a page. The wrong error there was mighty confusing.

2. Make edit permissions imply viewer permissions. Since there is no way
to edit without viewing anyway, and it just makes a lot more sense that
way.
docs/confreg/wiki.md
postgresqleu/confwiki/views.py