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

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

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

Suggest an answer

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

Atlassian Community Events