Closed SailReal closed 7 months ago
I guess the problem is that the "vault detail view" assumes you have an access token for this vault. However resetting an account will delete those.
So if you have owner privileges but not a token, we might need to prompt for the recovery key before continuing to the vault detail view, right?
Exactly, that's what I guess as well.
The remaining question is if we should handle one and multiple vault owners with access tokens differently or always show the recover vault dialog like mentioned in the report
Expected Behavior
Hub informs me about how can I recover access to the selected vault:
- When I'm the only owner, Hub needs to ask for my recovery key to recover this vault
- When I'm not the only owner, I can enter my recovery key or get the information to wait until an other owner clicks "Update Permission"
To keep it simple, let's start with always prompting for the recovery key. Then re-encrypt the vault key for the user's new private key. All remaining users should remain untouched.
It can be a future refinement to add some "Alternatively, ask Alice" text to said prompt.
Please agree to the following
Summary
As a owner of a vault, I would like to be able to recover it after resetting my account key
System Setup
Steps to Reproduce
Reset my account
introduced in https://github.com/cryptomator/hub/issues/208Expected Behavior
Hub informs me about how can I recover access to the selected vault:
Actual Behavior
Hub looks quiet normal beside the fact that the member list is empty and every change to that vault results in a
Unexpected Error: Insufficient rights to access resource
Reproducibility
Always
Relevant Log Output
No response
Anything else?
No response