Settings

System Settings

Admin User Rights

Portal Users, Roles, Access and Permission Matrix.

Manage Prachar Media backend users, candidate workspace users and ground field users from one secure rights page. Role assignment writes to user_roles and uses the matrix created in Supabase.

← Back to Settings

Final Access Rule

Super Admin controls everything. Workspace users see only assigned data.

User rights must always map to tenant, workspace and area scope. Field users should later see only their booth, task and area.

Role Chain

Prachar Admin β†’ Tenant Admin β†’ Candidate Workspace β†’ Campaign Manager β†’ Constituency Manager β†’ Booth Team β†’ Field Worker

Active Roles

0

0 admin Β· 0 workspace Β· 0 field

User Assignments

0

Active records from user_roles

Permission Lines

0

Role Γ— module matrix rows

Security Warnings

00

Tables/views with RLS or policy gaps

Rights Control

Filters and Actions

Assign Role

Add / Update User Rights

Assignment Rule

How Scope Should Be Used

Prachar Backend Admin

tenant_id and workspace_id can be empty for global super_admin/platform_admin.

Tenant Admin

tenant_id should be selected. workspace_id can be empty or selected based on account scope.

Candidate / Workspace User

tenant_id and workspace_id should be selected. User sees only assigned workspace data.

Field User

tenant_id, workspace_id and area_scope should carry booth/area/member assignment later.

Selected Role Preview

Select a role to preview landing route, hierarchy level and module rights.

Candidate Managed Team

0 Non-login Team Records

All Workspaces

These PA/Core/Coordinator/field records are managed by the Candidate Auth UID. They are not shown in the User Rights dropdown because they do not have separate Supabase login users.

No candidate-managed team rows found for the current filters.
Loading user rights...