Forums

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

BitBucket - disable "edit in browser" for specific repository

Thejeswara Reddy R December 10, 2018

Developers are able to edit files directly in the BitBucket webfrontend. This is causing issues because normally our commit messages are automatically prefixed with the JIRA issue number by a local pre-commit hook. This hook is of course not running on the BitBucket server.

We don't need the "edit in browser" feature for our repository and thus it shall be disabled.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2018

Hi Thejeswara, welcome to the Community!

The "edit in browser" feature can be disabled by setting the following property in your bitbucket.properties file:

feature.file.editor=false

See the Bitbucket Server config properties for a full list of all configuration options.

Hope that helps!

Ana

Thejeswara Reddy R December 11, 2018

Hello Ana,

Thanks for quick help and reply!

As per my guess this will effect globally to all the users and projects repositories. My aim is to disable only for specific project repository.

Do you have an idea how can we achieve this?

 

Thanks in advance!

Thejesh

Thejeswara Reddy R January 10, 2019

Hello Ana,

 

Kindly provide your response ASAP.

 

Thanks in advance!

Thejesh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events