Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11961

Show changes to file permissions in diffs and pull requests

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Sometimes a developer will accidentally change the permissions on a file, and check in the change. It would be good to spot these changes before they cause problems, ideally as part of code review when looking at a pull request.

      The current web interface doesn't expose this information.

      Here's an example commit diff. Which files have changed permissions?

      The answer is both of them, but it's hard to spot. The fact that the latter is in the diff with no apparent changes is a hint that the second file has different permissions; I can't see anything to indicate the change in the first file.

      Even when I know the permissions have changed, I don't know what the old/new permissions are; this is also useful.

      Please add something to the diff view that:

      • Highlights when the file permissions have changed
      • Tells me the old and new permissions

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            115d32ff073c alexwlchan
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: