Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×This question is in reference to Atlassian Documentation: Bitbucket Server 4.13 release notes
I would love to have this feature, but as we have some very hard restrictions on certain repos, I need to be able to enable the "edit" in browser feature on a per-repository basis, so I can control who and where this feature can be used. Is this possible?
Please note that 'edit in browser' will respect the permissions you have already set up for any repository. If you have restricted write access and/or set up branch permissions for the repository, these permissions will be respected.
Those permissions are not the problem. We have a custom plugin that checks commit messages against a legacy system (pre-receive). This must not be circumvented, so I'd like to just disable the "Edit in Browser" on those repositories so they are only modified through "real" (pushed) changes...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Plugins can also reject the proposed changes that the 'edit in browser' feature makes. You can do that by adding an event listener for the FileEditRequestedEvent
, validating the provided commit message and calling event.cancel
if the proposed change does not meet your plugin's requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do I get the commit message from the `FileEditRequestedEvent` (and the Event after the file was edited)? All I get is a branch, but not the message?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
I checked the implementation and unfortunately, the required fields are not available on the event . I've raised https://jira.atlassian.com/browse/BSERV-9521 to fix that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Michael. I was already doubting myself as to why I can't figure it out. I hope this can be resolved easily and fast because I'd really love to have this feature
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are working on an upgrade to 4.13.0 and will also be affected by the in-browser edit/commits not being validated by our commit checker plugin (YACC). We depend on this for our Compliance mechanisms, so we can't update until we can either disable in-browser edits (in our case, ideally across all repos), or until the missing fields are added to the event and YACC is able to incorporate them. Given the news of the missing fields, is there any thought being given to being able to disable the in-browser edit/commit feature? Thanks...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sandy Motyl If you really want to disable the feature globally, I believe you can already do that with a property setting: https://answers.atlassian.com/questions/46800809
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks very much! I briefly searched hoping that was available but didn't find it. I appreciate you pointing it out. That is what we will use until our commit checker can validate commits from the browser. Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Is there any option to disable the editable permissions in bitbucket web browser but it should works normal for all developers like., if developers push/pull code from console.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.