Skip to main content Overview
Teams are the foundational organizational unit in Pixel Patrol. Every user belongs to one or more teams, and all resources (sites, rules, media) are owned and managed at the team level.
Key Concepts
Team Structure
Each team has:
Team Owner : Full administrative control
Team Members : Collaborative access with role-based permissions
Team Settings : Customizable configurations and subscription management
Multi-Tenancy
Pixel Patrol implements team-based multi-tenancy:
Complete data isolation between teams
Row-Level Security (RLS) enforced at the database level
Separate subscription and usage limits per team
Team Roles
Owner
Create and delete sites
Manage team members
Configure billing
Access all team resources
Member
View and moderate media
Create and edit rules
Access team sites
Limited administrative access
Team Creation
Teams are created automatically when:
A new user signs up (becomes owner of their personal team)
Users without a team are assigned one automatically
Note: Manual team creation is not supported. Users can only belong to teams through automatic assignment or invitation.
Team Switching
Users can belong to multiple teams and switch between them:
Active team context is maintained in the application
All actions are performed within the context of the selected team
Team switcher UI component available in the navigation
Best Practices
Team Naming : Use descriptive names that reflect the organization or project
Member Management : Regularly review and update team membership
Role Assignment : Follow the principle of least privilege
Subscription Management : Monitor usage to avoid hitting limits