Repository navigation
feat(lock): org-enforced lock policy (#510) - #581
Merged
Merged
Conversation
This was referenced Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Client half of the org-enforced lock policy (#510, spec 3 of 3). Needs VoltiusApp/server#101 deployed first.
What it does
A Business team admin (Manage vault or Administrator) sets a maximum auto-lock time and can require Lock vault. Every member's app follows it, owner and admins included.
Other changes in this branch
listTeams()now throws on a non-OK response instead of returning[]. A 401/500/429 used to look like "no teams", which would clear the cached policy and could make a membership event read as removal from every team.uiStorehas onemembersPanelPendinginstead of a pair of flags per panel.BusinessLockCardextracted from the Roles panel and reused by the Security panel;VAULT_MANAGER_BITSshared by the vault menu and the Members page.secrets.enc) reloaded into onboarding instead of the unlock page. The splash now treats server mode as locked; unlocking re-authenticates with the server as before.Testing
tsc --noEmitclean.Membership was added in the database rather than through the invite flow.
Release notes owed
Known follow-ups (not in this PR)
team.lock_policy_set/team.lock_policy_removedas raw event names.