]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Receive: avoid hiding check_canedit error messages
authorJoey Hess <joey@kitenet.net>
Mon, 30 Aug 2010 21:58:00 +0000 (17:58 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 30 Aug 2010 21:58:00 +0000 (17:58 -0400)
commit8030ecac02a743e930e480650e8c14413f26d9a2
tree2071069ca012fd65906fc0696d64ecb467cf8061
parent2b2d777321267af82c5230df35d5c40b65bd8424
Receive: avoid hiding check_canedit error messages

Avoid the generic "you are not allowed to change" message,
and instead allow check_canedit to propigate out useful error messages.

Went back to calling check_canedit in fatal mode, but added a parameter to
avoid calling the troublesome subs that might cause a login attempt.
IkiWiki.pm
IkiWiki/Receive.pm