Define duties before roles
Sales reps typically need their assigned records; managers need team oversight; administrators configure accounts. Verify the actual application behavior instead of trusting role labels.
Test cross-team access
Create fictional customers under two different teams. Attempt direct URL access, search, updates and exports from each test account. The server must reject unauthorized requests.
Control exports and deletion
List which roles may download or remove data and what approvals or audit logs apply. Hiding a button is not a substitute for server-side enforcement.
Review after staff changes
Revoke unneeded sessions, reassign responsibilities and check backups and restore procedures. Do not expose admin files or customer attachments as public SEO content.
A practical access test
In a test environment, create two teams, one account per role, and a fictional record for each team. Try cross-team search, direct URL access, export, reassignment and deletion. Record expected and actual results for each attempt. Never test deletion on live customer records.
Reusable permission matrix
Role | View records | Edit records | Reassign | Export | Delete | Test result. Begin with deny-by-default and grant permissions only for a documented business need. Separate user administration from unrestricted customer visibility where appropriate.
When to block a release
If a salesperson can access another team's customer without authorization, or an export exposes a record outside the user's scope, block the affected release. Verify server-side enforcement, not just hidden buttons, and rerun the tests after fixing the issue.