Why do users with read-only access see the “Edit” button on files?

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

  • Users with read-only access cannot write to a repository directly. The edit option provides them with the ability to create a repository fork and commit the changes to the forked repository instead.

Solution

Process

  • Users with read-only access can edit a source file within the UI by clicking on the Edit button

    (Auto-migrated image: description temporarily unavailable)

  • Users are not able to commit this to the original repository, they will only be able to fork the repository and commit the changes there

  • Once the changes are complete and the user clicks on Commit, a message is displayed which explains "You don't have write access to this repository. We'll create a fork for your changes and submit a pull request back to this repository."

    (Auto-migrated image: description temporarily unavailable)

  • The administrator of the repository will be able to choose whether or not to incorporate the changes by either Approving or Declining the resulting pull request

If you require further clarification or assistance with this process, please raise a support ticket or raise a community support ticket accordingly.

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.