The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Deleted user
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

Hi @[deleted] 

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

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events