Basically we normally restrict the API token by them having one of the ADMIN_API_ACLS acl, which meant we could not update or expire API tokens that did not have any of these acls. With this change, we can lift this constraint by using --all.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
It would be great to add a non admin API token to the test suite, :thumbsup: otherwise
rebased onto 8e74743e2f4eeceda74a63c8121def6611b2274b
Tests added :)
rebased onto 743bb5ec8480871d00af7b04ef2af41497c56c31
pretty please pagure-ci rebuild
@jlanda tests added but jenkins is weird :(
wfm, test bypass included :)
I opened a ticket to tract the jenkins|el7 test failing mystery: #4641
Thanks for the review
Pull-Request has been merged by pingou
Basically we normally restrict the API token by them having one of the
ADMIN_API_ACLS acl, which meant we could not update or expire API tokens
that did not have any of these acls.
With this change, we can lift this constraint by using --all.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr