---
title: Vaults
description: "Organize, secure, and collaborate on your prompts using Vaults, the core organizational unit in PromptEasy."
---

Vaults are secure containers for your prompts, acting as the primary method for organizing and controlling access within your organization. Each vault can be configured with specific permissions, ensuring that only the right people can view, use, or modify its contents.

---

## Vault Types & Permissions

PromptEasy offers several types of vaults, each with distinct access rules tailored for different collaboration scenarios.

### Company Vaults

Company vaults are intended for prompts that are relevant to the entire organization. They come in two varieties:

<div className="space-y-4">
<div className="border rounded-lg">
<div className="p-4 bg-muted/30">
<h4 className="font-semibold text-foreground mb-2">Public Company Vault</h4>
<div className="text-sm text-muted-foreground">Accessible to all users within the company. This is the default type for the main vault.</div>
</div>
<div className="p-4 border-t">
<ul className="list-disc pl-5 text-sm space-y-1">
<li><strong>View:</strong> All users</li>
<li><strong>Create & Suggest:</strong> All users</li>
<li><strong>Manage Suggestions:</strong> Moderators, Admins, Superadmins</li>
<li><strong>Detach Prompts:</strong> Admins, Superadmins</li>
<li><strong>Manage Vault:</strong> Superadmins</li>
</ul>
</div>
</div>

<div className="border rounded-lg">
<div className="p-4 bg-muted/30">
<h4 className="font-semibold text-foreground mb-2">Private Company Vault</h4>
<div className="text-sm text-muted-foreground">Strictly for company-level administrators. Not visible to regular users or moderators.</div>
</div>
<div className="p-4 border-t">
<ul className="list-disc pl-5 text-sm space-y-1">
<li><strong>View & Use:</strong> Admins, Superadmins</li>
<li><strong>Create, Edit & Manage:</strong> Admins, Superadmins</li>
</ul>
</div>
</div>
</div>

### Team Vaults

Team vaults are designed for collaboration within specific groups, like a "Marketing" or "Development" team.

<div className="space-y-4">
<div className="border rounded-lg">
<div className="p-4 bg-muted/30">
<h4 className="font-semibold text-foreground mb-2">Public Team Vault</h4>
<div className="text-sm text-muted-foreground">Visible to the entire company, but manageable only by the assigned team.</div>
</div>
<div className="p-4 border-t">
<ul className="list-disc pl-5 text-sm space-y-1">
<li><strong>View:</strong> All company users</li>
<li><strong>Create & Suggest:</strong> Team Users, Team Moderators, Team Admins</li>
<li><strong>Manage Suggestions:</strong> Team Moderators, Team Admins</li>
<li><strong>Manage Vault & Members:</strong> Team Admins</li>
</ul>
</div>
</div>

<div className="border rounded-lg">
<div className="p-4 bg-muted/30">
<h4 className="font-semibold text-foreground mb-2">Private Team Vault</h4>
<div className="text-sm text-muted-foreground">Content is exclusively visible and manageable by members of the assigned team.</div>
</div>
<div className="p-4 border-t">
<ul className="list-disc pl-5 text-sm space-y-1">
<li><strong>View:</strong> All team members (including Viewers)</li>
<li><strong>Create & Suggest:</strong> Team Users, Team Moderators, Team Admins</li>
<li><strong>Manage Suggestions:</strong> Team Moderators, Team Admins</li>
<li><strong>Manage Vault & Members:</strong> Team Admins</li>
</ul>
</div>
</div>
</div>

---

## Vault Lifecycle

> **DANGER**
> #### Vault Deletion is Permanent
> 
> A Superadmin can choose to permanently delete a vault. This action cannot be undone.
> 
> If a vault is deleted, all prompts that this vault contained will become **detached prompts**. They will no longer be associated with any vault but will remain in the system, accessible only to administrators, until they are re-attached to another vault or deleted.

### Detached Vaults

A vault can become "detached" in two ways:

1.  **Manual Detachment:** An Admin or Superadmin manually detaches it from a team or the company.
2.  **Automatic Detachment:** A team is deleted, and its vaults are automatically detached.

Detached vaults and the prompts within them are hidden from all regular users. They are only visible to Admins and Superadmins, who can then re-attach the vault to another team or make it a company-level vault.