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

Is there a way to disable commits from unknown users on a private repository?

Win August 14, 2017

I'm seeing unknown users checking in code to PRIVATE repositories. I found out who they are by reviewing it with my teams, but the system should automatically disallow this from happening. If a repository is PRIVATE, it should ONLY allow access to the people that have permissions to access it. That includes doing any management on it.

1 answer

1 accepted

0 votes
Answer accepted
jyo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2017

Hi there,

 

The issue here is that people who currently have access to this repository are committing with incorrect e-mail aliases. See: https://confluence.atlassian.com/bitbucket/set-your-username-for-bitbucket-cloud-actions-272597445.html

If they have an unknown e-mail set in their .gitconfig file, then it will show up as "Unknown" under Bitbucket, as it does not match their primary e-mail on Bitbucket. Once they fix this, their subsequent commits will show up under their correct user account.

They can also set their Email alias under *Bitbucket Settings*, so it can attribute to incorrect commits to the correct user.

There is no way to disallow this from happening, but I've created a feature request: https://bitbucket.org/site/master/issues/14663/create-flag-to-prevent-unknown-committers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events