Open bjrne opened 4 years ago
The 404 is not intended by behaviour added in this PR, it is a result of the problem described in #157. The login redirect is a result of the login decorator sitting before the other one. We need to discuss what behaviour we want, e.g. what page do you see for a URL that you have access to, but are not logged in yet. This is a decision between obfuscation and good UX.
This will also wait for a decision on permission names (refer to #183).
Will test thoroughly again and also revise checks for buttons on staff-profile.
Closes #121 Closes #137