You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vault indicator shows "Vault locked" in a shared folder after the vault was unlocked #4265
When a vault sits inside a shared folder, its lock indicator in the parent folder keeps showing "Vault locked" after it has been unlocked. Files inside the unlocked vault also never get the "Vault unlocked" indicator.
useVaultIndicator checks the unlock state with resource.storageId, but unlocked vaults are stored by space.id. In personal and project spaces both IDs are the same. In a share space they differ: the space ID is the share ID (provider$space!node), while storageId is only provider$space. All other vault store callers use space.id.
Reproduction Steps
As user A, create a vault inside a folder and share that folder with a guest
Log in as the guest and open the shared folder
Open the vault and unlock it
Navigate back to the parent folder of the vault
Expected Outcome
The vault shows the "Vault unlocked" indicator, and files inside it show the unlocked indicator.
Actual Outcome
The vault still shows the "Vault locked" indicator.
Activity