Update secrets
https://redmine.teklia.com/issues/10664
Requires enterprise#61, #1567 (closed)
In the Content section of the secret details view, an Edit button should be added next to the Reveal button. This button is disabled with the same rules as the Reveal button, requiring contributor access.
Clicking this button shows a form with a <textarea> holding the contents of the secret, with two Save and Cancel buttons. Clicking Save sets a loading state and calls a new useSecretStore().update(secret: Secret) action, which then updates the secrets state. A successful save hides the whole edit form, and an error shows a notification and leaves the form visible.