[Idea] Changing a package's access rights: Add/remove users/groups in Pagure
farchord opened this issue · comments
I don't know if this is doable with the pagure API. I'm working through close to 100 KF6 packages right now and it'S always a pain to have to go package-by-package to add the kde-sig group.
Is there a way for the script to simply add it through the api? Something like:
fbrnch pagure-access add kf6-* kde-sig admin
This is possible with the Pagure API. @bmwiedemann's automated openSUSE package export from OBS to code.opensuse.org (a Pagure instance) does this: https://github.com/bmwiedemann/openSUSE/blob/master/scripts/pagure-modify-acls
Also check out the nice API docs:
https://pagure.io/api/0/#projects-tab
Seems reasonable, thanks for the suggestion