Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I want to setup repository level access for a user

nauman786 September 26, 2018

Goal:-

I have a team Boss (user1, user2) which has repo r1 and r2. The team has full access to r1 and r2. I need to give access to user3 for only r2. In the r2 settings, I will give user3 the desired access rights.

Approach:

For the user3 to access r2 I added his pub key to team Boss. Now, user3 can clone the branch r2 using his id and the access rights will apply. But if somehow user3 get the other repo URLs he cannot only clone them but do check-ins, as his pub key is at the team level.

Is this a wrong approach for the goal? Please suggest.
How to prevent user3 not to clone even if he has the clone url for r1?

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2018

Hi, welcome to the Community!

Are you using Bitbucket Server or Cloud?

You'll need to review this user's permissions and grant them accordingly to which repos you want him to access. For more info on how to set them you can read Bitbucket Server permissions or Repository access for Bitbucket Cloud.

Let us know if you have any further questions!

Kind regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events