I'd like to publish a URL with restricted access such that anyone who clicks on it can join as a collaborator. I don't want to individually add every person who needs access, nor do I want to give someone else the authority to do this.
My repository is private (currently on Github, though I'm willing to move it to Bitbucket).
Is there any way to do this using Bitbucket?
Best Answer
Hopefully the GitHub approach will work for you, but if not, or if you want to switch to BitBucket, you can do something similar using the BitBucket REST API and the
privileges
endpoint:Write a script or program to call the BitBucket API and grant that user access, in this format: