It's to be expected that once an API key expires, the user would like to renew this one with the same ACLs. Current user experience is quite bad since you need to have 2 separate windows opened next to each other in order to get the ACLs right again.
Add a "Renew" button to the API keys in project settings that would renew the given API key with the same ACLs the previous API key had.
I think that's a good idea :)
Metadata Update from @pingou: - Issue tagged with: RFE
As long as we make sure that the actual API key string itself changes, this sounds like a fine idea to me.
+1 -
Metadata Update from @pingou: - Issue assigned to pingou
Commit c8e85f1e fixes this issue
so I have a utility that runs that interacts with pagure. it's API key expires every so often. Can I use the new functionality to automate renewing the key?
It's implemented in the UI only, we currently have nothing API token related in the API.
Note: if you want/need a token that expires in more than 60 days, pagure admins can extend the life of your token. So feel free to open a fedora-infra ticket for this :)