Adventure Labs Logo
Scout Docs

Users

Table for storing user profile data linked to Supabase Auth users

Column NameData TypeConstraints
iduuidNOT NULL
usernametext
firsttext
lasttext
titletext
earthranger_idtextLegacy single id; see User_earthranger_ids for per-herd ids
auto_approve_sessionsboolean
signature_base64text

Security Policies (RLS)

RLS enabled. Herd scope: Not herd-scoped.

Operationhas_herd_ability ability keyOther paths
SELECT—Public read (Anyone can view users)
INSERT—Own profile or platform superadmin
UPDATE—Own profile or platform superadmin
DELETE—Own profile only

Platform superadmin: FOR ALL bypass where defined.

Herd authorization applies on users_roles_per_herd and data tables, not users.

On this page