Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12081

Make lock button available for non-LFS files

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Git LFS, UI
    • None
    • 2
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently the lock button only appears in the UI for LFS files (regardless if they have been registered as lockable).  However, the documentation for LFS locking includes a use case for locking non-LFS files:

      If you'd like to register a file type as lockable, without using LFS, you can edit the .gitattributes file directly:

       
       *.yml lockable

      Doing this gives the correct file permissions client side, but unfortunately does not provide a button for the user to lock files within Bitbucket.

            Unassigned Unassigned
            69fe8cfa4788 Tom Critchlow
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: