PhoenixKitKnowledgeBase. Schemas. VaultMember
(PhoenixKitKnowledgeBase v0.1.0)
Copy Markdown
View Source
One person's access to one vault.
Roles, most to least capable:
"owner"— everything, including managing members and deleting the vault"editor"— create, edit and delete notes and folders"viewer"— read only
A personal vault's owner_uuid is granted "owner" implicitly, without a row
here (see PhoenixKitKnowledgeBase.Vaults.role_for/2), so a vault can never
end up with nobody able to administer it.
Summary
Types
Functions
@spec roles() :: [String.t()]
The roles a member may hold, most capable first.