Can Bitbucket Server (5.3 currently) protect 'notes' added via 'git notes' ?
For tags, we prevent deletion using a branch specifier 'ref/tags/v/*' (tags starting with 'v')
But for notes, I have tried using 'refs/notes/*' and 'refs/notes/commits' but no luck. Clients can still remove the note and push it to the server.
We want to prevent deletion of git notes. Maybe a server-side hook is a better way?