21 Jan
2018
21 Jan
'18
5:09 p.m.
On Sun, 21 Jan 2018 at 17:51:02, Johannes Löthberg wrote:
git/auth is run as an AutherizedKeysCommand which does not get the environment variables passed to it, so AUR_OVERWRITE always got hard-set to '0' by it. Instead we need to perform the actual privilege check in git/update instead.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- Removed unrelated garbage README change
aurweb/git/auth.py | 1 - aurweb/git/update.py | 2 +- test/t1100-git-auth.sh | 17 ----------------- test/t1300-git-update.sh | 14 +++++++++++++- 4 files changed, 14 insertions(+), 20 deletions(-)
Merged, thanks!