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

Give UserA "write" access, but UserB is making commits

jamiek22
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2022

Hi.

I have given UserA "write" permissions on my repo hosted on BitBucket using their email address.  But now I am seeing commits by UserB who has a different email address.

When I go to "User and group access" I only see UserA.

How can this be?  This has happened on two different occasions; I am hiring one person to work on my project, but they are sub-contracting out the work to someone else (which I do not want).

Thanks.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2022

Hi @jamiek22 

G'day.

This can happens if UserA is using git config with UserB email address locally.

UserA is authenticating using the correct original credential.

However, the local git config username (author) is using the UserB email address. So this information is sent to the Bitbucket cloud where we use the commit author to show who made the commit.

Hence, the UI shows UserB made the commit, but if we look at our logs end it should show that the one that made the commit and pushed it over is actually UserB.

You can identify this by asking UserA to run the following commands to show his local git config username and email:

git config --list

I hope this helps.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events