Switch canWrite from blacklist (role !== 'oversight_admin') to explicit whitelist (super_admin, agency_admin, basic_user) for clearer permission logic. Propagate readOnly prop to CampaignDetail and ProofDetailView subcomponents so upload/delete buttons are properly hidden for read-only roles at all navigation levels. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| UserContext.tsx | ||