]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/untrusted_git_push_hooks.mdwn
More up-to-date patch
[ikiwiki.git] / doc / todo / untrusted_git_push_hooks.mdwn
1 Re the canrename, canremove, and canedit hooks:
2
3 Of the three, only canremove is currently checked during an untrusted
4 git push (a normal git push is assumed to be from a trusted user and
5 bypasses all checks).
6
7 It would probably make sense to add the canedit hook to the checks done
8 there. Calling the canrename hook is tricky, because after all, git does
9 not record explicit file moves.
10
11 The checkcontent hook is another hook not currently called there, that
12 probably should be.