Skip to content

UNLIMITED_VIDEO_USERS bypass has no audit logging and is difficult to rotate #59

@saismrutiranjan18

Description

@saismrutiranjan18

The UNLIMITED_VIDEO_USERS environment variable accepts a comma-separated list of emails or user IDs to bypass daily generation limits entirely. As a flat environment variable, there is no audit trail of who is on the list, when they were added, or whether a bypass is actively being used. It also cannot be changed without a redeployment. For a production application, privilege escalation of this kind should be managed via a database-backed profiles flag (e.g., is_unlimited: boolean) that can be toggled at runtime and is logged via Supabase's audit system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions