Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting access of external developers to certain repositories

Deleted user February 13, 2018

I am a bit confused by the BitBucket permission model. I am trying to achieve the following:

Our team consists of internal developers and external developers. Internal developers should have access to all repositories and external developers should only have access to the repository on which they are working.

I created a repository (let's call it Repo1) with the owner being the team of developers in our company (let's call it TeamComp). I added the additional external developers to this team, which are working on a different project in a different repository (let's call it Repo2).

I now want to limit the access for the external developers to Repo2, so that they cannot access Repo1. I thought I could do this using groups.

However, I just realized that the TeamComp is the owner of Repo1 and Repo2.

So my questions are:

  1. Does this mean, all team members will have access to all repositories?
  2. If so how do I limit access to the repositories? Will I have to create an additional team for the external developers (instead of creating a group for them)?
  3. If so: What is the usage for the groups? And how do I grant my internal developers access to the repository of the repository of the external developers?

I am confused and hope somebody can shed some light on the permission model in BitBucket and how I can achieve what I want.

Best regards,

Michael

 

1 answer

1 accepted

1 vote
Answer accepted
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2018

The team itself doesn't really factor into repo permissions, except as a collection of groups and users. While the team owns the repos, access to each repo is still governed by the group and user settings within that repo's admin panel.

You should be able to set up separate groups within the team:

* one for internal devs

* one for external devs

* one for administrators, etc.

and then grant permissions to each repo as appropriate.

Deleted user February 15, 2018

Ok. After your answer I tested this out and it works. Its a bit confusing to me, that in the settings "User and group access" individual users appear under "Owner" just like the team (if it is an owner), which suggested to me that all users in the team are owners. Thanks for the clarification!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events