User and Group Administration¶
UserProfile Model¶
Each user has a profile with:
- organization
- phone
is_internal_userflag
The is_internal_user flag grants access to internal analytics/reporting features.
Group Setup¶
Superusers can access:
/auth/admin/setup-groups/
Default groups created by setup flow:
- Public Users
- Internal Users
- Administrators
Access Evaluation¶
- Parcel visibility/editability also depends on owner/staff/public rules
- Internal feature checks are applied in analytics/report views
- Django
is_staffandis_superuserremain authoritative for admin access
Dataset and Grant Lifecycle¶
Parcel Dataset and Dataset Role Grant are managed in Django admin.
Dataset management¶
- Create datasets with unique
slugand human-readablename. - Activate/deactivate datasets with admin actions (
Activate selected datasets,Deactivate selected datasets). Load only selected datasetsis available when you intentionally need a single operational dataset.
Grant management¶
- Use Group Role Grants inline for primary access assignment.
- Use User Role Grants inline for exception handling.
- One grant maps exactly one dataset + one principal (user or group) + one role.
- Role hierarchy is:
APPROVER > REVIEWER > EDITOR > VIEWER.
Audit expectations¶
- New grant records capture
created_byautomatically from the admin actor. - Grant rows include
created_atandupdated_attimestamps. - Use the
Dataset Role Grantsadmin list with filters (dataset,role,group,user) to review and audit current assignments.