Fixes #4764
LGTM
Should we add unit-tests?
Good point. I'll add one with a non committer user token
rebased onto 05047c0af3a2d67e5bf89d0de4a676886d8a6f71
Actually I edited the wrong _check_token() call on the first attempt :D
Fixed and test added :)
rebased onto ed1aa4d0419f885bc0e0ec4c93b51403dfb9545f
pretty please pagure-ci rebuild
@jlanda You may want to rebase again, and the CI is stuck...
yeah, second time on this pr that ci stucks :(
rebased onto 44e0edbf2af36c1969be257dd1f1d697a6dab184
Now that is rebased and ci went ok, this is ready for review =)
rebased onto 069347c63424d01799eb01e35f5f7dc8d3f30420
:thumbsup:
Thanks :)
Pull-Request has been merged by pingou
Fixes #4764