I'm working on a tool that allows for automatic management of branches after users are notified when their branches have gone 'stale' and are in need for either deletion or moving to a tag.
How can I problematically determine which user has the ability to delete a branch via either the rest api or the non-web api?
I notice that the first person to push a new branch is set in the settings as having deletion rights. For my purposes this person could be considered the 'owner'.
I'm not finding where I can query the user security settings on a per-branch level.
Thanks!