I’m interested in creating a Github plugin that allows a repo owner to limit the number of clones allowed in private repos by other members in the repo.
The use case is an employee joins a company and needs to clone the repo once on a company authorized computer. The employee has full push/pull access, but is locked from further clones unless given permission by the repo owner. This would prevent an employee from cloning the repo to other unauthorized devices (i.e. personal computers).
I don’t see anything in the Github API that allows modification of clone permissions. Can anyone shed some light on whether or how this is possible?