Overview
Null Pass manages access to multiple services through a unified entitlement system. Each user can have entitlements for different services with tier-based access control, custom limits, and subscription integration.Supported Services
DROP
File storage and sharing service
MAILS
Email management service
VAULT
Secure credential storage
DB
Database service access
Service Entitlement Model
Each service entitlement (UserServiceEntitlement) contains:
Unique entitlement ID
User ID
Service identifier:
DROP, MAILS, VAULT, or DBAccess tier (e.g., “free”, “premium”, “enterprise”)
Premium access flag
Custom access flags (JSON object). Used for fine-grained permission control.Example (DROP):
accessFlags Values:
"founder"- Founder role"dev"- Developer role"moderator"- Moderator role""- Empty for regular member (default)
Service-specific metadata (JSON object). Stores user preferences and service configuration.Example (DROP):
Custom storage limit in bytes (null for default)
Custom API key limit (null for default)
Whether service is connected/enabled
Polar customer ID (for subscription integration)
Polar subscription ID
Polar subscription status
Entitlement creation timestamp
Last update timestamp
Database Schema
Service Identifiers
Access Control
Service access is checked through:- Tier-based: Free, premium, enterprise tiers
- Premium flag: Boolean premium access
- Custom limits: Storage and API key limits
- Connection status: Whether service is connected
- Access flags: Custom JSON flags for fine-grained control