Skip to main content
Internal Documentation Only: If you’re not a Null Tools developer, you can close this documentation or visit the Apps section to learn more about using Null Pass in your applications.

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

Crypto payment processor

DB

Database service access

Service Entitlement Model

Each service entitlement (UserServiceEntitlement) contains:
string
Unique entitlement ID
string
User ID
ServiceIdentifier
Service identifier: DROP, MAILS, VAULT, or DB
string
default:"free"
Access tier (e.g., “free”, “premium”, “enterprise”)
boolean
default:"false"
Premium access flag
object
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)
object
Service-specific metadata (JSON object). Stores user preferences and service configuration.Example (DROP):
number
Custom storage limit in bytes (null for default)
number
Custom API key limit (null for default)
boolean
default:"true"
Whether service is connected/enabled
string
Polar customer ID (for subscription integration)
string
Polar subscription ID
string
Polar subscription status
string
Entitlement creation timestamp
string
Last update timestamp

Database Schema

Service Identifiers

Access Control

Service access is checked through:
  1. Tier-based: Free, premium, enterprise tiers
  2. Premium flag: Boolean premium access
  3. Custom limits: Storage and API key limits
  4. Connection status: Whether service is connected
  5. Access flags: Custom JSON flags for fine-grained control

Get Service Access

Retrieve user’s service entitlements

Update Service

Update service entitlement