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: 

Allow write permission for OAuth Consumer in Branch Restriction Workflow

Viresh Mathad
September 9, 2022

Hello Everyone,

 

I have setup semantics using OAuth Consumer, everything is working fine. 

I do not want my team to commit to master branch by mistake, so want to restrict access to few people but semantic bot needs write access to create the tag.

How can I include OAuth consumer in the list?

Capture.PNG

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2022

Hi @Viresh Mathad

Thank you for reaching out to the community.
Unfortunately, it's not possible to add an OAuth consumer to a branch restriction settings.
Only users or groups can be added there right now.

As a workaround, if you're using a bot Bitbucket Cloud account, I'd recommend adding the bot account in the branch permission setting and then using basic authentication (e.g. username and app password) when you use the bot account instead of the OAuth consumer.

Let me know if you have further questions.

Regards,
Mark C

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events