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:
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
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.