Delete secrets
https://redmine.teklia.com/issues/10664
Requires enterprise#62, #1567 (closed)
In the secret details view, a red trashcan button should be added in the top-right corner. It is disabled when the user does not have admin rights, with a title explaining why. Clicking it opens a confirmation modal with a Delete button.
Clicking this button sets a loading state and calls a new useSecretStore().delete(name: string) action, which calls DestroySecret and removes the secret from the secrets state. If this is successful, the modal closes, otherwise a notification is shown and the modal stays open.