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

Make lock button available for non-LFS files

    XMLWordPrintable

Details

    • 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.

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: