I'm not sure if this is a "valid" usage of admin token, but I think it makes sense to be able to use it this way. Otherwise we'd probably need to create a completely different mechanism.
It might make sense to move check_api_acls to pagure.utils and import it from there. I'll do that if it makes sense to you.
And yes, once the general approach is figured out and approved, I'll write documentation and tests :)
Some notes:
check_api_aclstopagure.utilsand import it from there. I'll do that if it makes sense to you.