roles: rename instance-level 'member' to 'admin'#153
Merged
dangtony98 merged 1 commit intomainfrom May 8, 2026
Merged
Conversation
Renames the instance-level role from 'member' to 'admin' across the schema, Go code, web UI, tests, and docs. The vault-scoped 'member' role is unchanged — only the instance axis (users.role, agents.role, invites.agent_role, user_invites.role) is touched. Migration 044 rebuilds the four affected tables (SQLite cannot alter CHECK constraints in place) and rewrites existing 'member' values to 'admin'.
|
💬 Discussion in Slack: #pr-review-agent-vault-153-roles-rename-instance-level-member-to-admin Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Summary
Part of a small batch of changes aimed at making Agent Vault more ergonomic for the way people actually deploy AI agents.
This PR renames the instance-level role from
membertoadmin. The vault-scopedmemberrole is unchanged — only the instance axis is touched (users.role,agents.role,invites.agent_role,user_invites.role).membervalues toadmin.admin(previouslymember).Test plan
go test ./...passes (store, server, cmd)go build ./...cleanagent-vault user listreflects new labelagent-vault user invite foo@bar.comdefaults toadmin;--role ownerstill works; bogus role rejected