Reputation: 9
I am migrating a project from SVN to Bitbucket.
Now I need to give access permissions to a list of users that I have as a list of username and password in a text file.
How can I do that in Bitbucket without manually adding each user?
Upvotes: 0
Views: 63
Reputation: 142064
The best way to do it is to use Groups.
If your bitbucket is connected to LDAP
(standalone or via JIRA) you can grant or prevent access using those groups.
If you don't have LDAP groups you can use git hook which will read the list of users form file and will verify if the user is allowed to perform the desired task. for example in your pre-receive
hook.
Upvotes: 1