Build a testable permissions matrix from workflows
A testable permissions matrix starts with specific workflows, not the CRM's default roles. First, describe who performs which task on which records: a sales representative might be allowed to edit their own opportunities, while the sales manager can view their team's opportunities. Keep business responsibilities separate from technical roles. A management position does not automatically confer the right to delete records or change every field.
Each row in the matrix should contain a role, object, action, data scope and, where applicable, a condition. “Sales can edit contacts” is too vague; “Sales can change business contact details for assigned customers, but not their customer number” provides a testable requirement. Distinguish object-level permissions, such as creating or deleting records, from record-level restrictions and field permissions. Also document whether permissions from multiple roles, team memberships or sharing settings combine, and which rule should apply when assignments conflict.
For every permission required by the business, define the corresponding boundary: which records or fields must explicitly remain blocked? Also indicate whether access is prohibited by business policy or simply not required. This distinguishes deliberate restrictions from unresolved decisions. Have the relevant process owners confirm the intended rules; administrators can then establish whether and how these requirements can be implemented in the chosen CRM. A technical default should not replace an unresolved business decision.
Set up test accounts and data for permitted and blocked access
Create a separate test account for each role to be tested, with the intended licence, group and team settings. Administrator accounts are unsuitable: their additional permissions can conceal missing access grants or ineffective restrictions. Reused accounts are also problematic if they contain unnoticed individual permissions. Use the accounts through the standard sign-in process in a test environment whose permission-related settings match the planned production configuration. Record any differences, as they limit the validity of the tests.
The test data must clearly distinguish between permitted and blocked access. Synthetic customers, contacts and cases with clearly documented owners and team assignments are suitable for this purpose. For each accessible record, create a counterpart that is as similar as possible and differs only in the attribute that determines access, such as its team assignment. Also include records with linked notes, activities and attachments, as well as fields with restricted visibility. This makes it possible to establish whether a restriction protects only the main record or its associated content too.
Each test case needs a defined starting state and an expected result for the account concerned. Prepare read, create, update and delete tests separately: a visible record must not automatically be editable. Use separate, restorable records for tests that change data, so that one test does not undermine the conditions needed for the next. Real customer data and production credentials should not be included in this dataset; synthetic content avoids unnecessary data protection risks and can be tailored to edge cases.
- Clearly label test accounts and record their effective group memberships and any additional individual permissions before testing begins.
- Give accessible and restricted records stable test identifiers; document the expected access decision outside the CRM.
- Prepare appropriate values for mandatory and restricted fields so that business validation errors are not confused with access restrictions.
- Establish a documented reset procedure for write and delete tests, and limit outgoing notifications to test recipients.
Test search, reports, exports and API access separately
A blocked record view does not prove that the same information is protected in search and analysis tools. Using the same role, test global search, suggestion lists, saved filters and linked records. Even result headings or preview text can reveal confidential customer and revenue information. For reports, examine detail views, drill-downs and aggregated metrics separately: even without visible individual rows, totals or small result groups can allow users to infer information about restricted cases. What matters is which information the role is authorised to receive under business rules, not merely which views it can open.
Exports are a separate access route. Check not only whether the export function is available, but also the actual file contents: does the file contain only permitted records and fields, or do additional columns and linked information appear? Include scheduled report runs and attachments sent to recipients. Establish whose permissions are used to generate the output and who receives it. A view that is permitted within the CRM does not automatically justify unrestricted distribution as a file; once downloaded, that copy is no longer governed by the CRM's access rules.
Test API access using the identity actually used in practice. An integration may operate on behalf of a user or through a service account, giving it different permissions from those available through the user interface. Test reading, updating and – where intended – deleting, both through direct record requests and through list and bulk operations. Restricted token permissions do not remove the need to check record and field permissions. If an integration is deliberately intended to have broader access, that difference must be explicitly authorised; it is then also essential to check whether the connected application appropriately restricts the information available to its users.
- Search: restricted content must not be inadvertently revealed through result snippets, suggestions or displays of linked information.
- Reports: check detail rows, drill-downs and metrics individually against the role's intended information scope.
- Exports: check file contents, the identity used to run the export and the recipients – including scheduled deliveries.
- API: test user access and service accounts separately; direct requests and bulk queries must respect the intended boundaries.
Test temporary cover, team changes and departing users
Users providing temporary cover should receive only the permissions required for that purpose, for a clearly limited period. Test access not only during the cover period, but also before it begins and after it ends. Temporary holiday cover is a useful test case: the person providing cover may edit assigned cases but receives no additional permissions for other teams. The temporary access must actually be removed when the period expires. Also check manually granted sharing permissions and tasks whose assignment can confer access rights in the CRM concerned.
When a user changes teams, adding the new role is not enough. The test must show whether previous group memberships, direct sharing permissions and record-level rights are revoked as intended. Set a clear changeover time and test the same user immediately before and after it. If they are to continue handling selected existing cases, this exception needs a defined scope and an end date. Test the transfer of record ownership and open tasks separately: it must allow work to continue without unintentionally leaving the previous owner with access.
When a user leaves, distinguish between disabling their account and ending all access tied to that user. Using an already open session, test whether the user can still retrieve data or save changes after the account has been disabled. Include mobile sign-ins, personal access tokens and existing sharing permissions. If access is managed centrally through an identity provider, also check whether local CRM sign-in remains possible. Disabling an account does not automatically remove files already downloaded or data stored offline; these require additional measures outside CRM role management.
Resolve discrepancies and maintain a clear approval record
Record every discrepancy between expected and actual access in an issue log, including the test case, affected role, system version and configuration, and reproducible steps. Prioritise by impact: unauthorised access to confidential content requires different treatment from a missing editing permission that does not affect an essential process. Identify the cause before making a correction, such as inherited permissions, a sharing rule or a configuration difference. Adding individual permissions as a quick fix can make the role model harder to manage and open new access routes.
After making the correction, rerun the failed test case and also check the roles and access routes directly affected. The evidence should record which setting was changed, who implemented the change and the outcome of the test. Screenshots or log extracts should contain only the necessary information and be stored securely. Business owners confirm that the workflow functions correctly; those responsible for the permissions model assess whether the access boundaries are being respected.
Go-live approval applies to a clearly identified configuration baseline, not to the CRM as a whole. Open discrepancies must not be buried in the test log: every accepted exception needs a reasoned risk assessment, a responsible owner, an effective interim measure and a firm resolution deadline. If a discrepancy breaches mandatory protection requirements, the affected function or user group must not be approved for use until it is resolved. This keeps the link between each decision and its supporting test results clear.
- Issue closure: link the original discrepancy, the correction and the retest result.
- Approved baseline: clearly record the version of the role rules and the associated configuration.
- Outstanding discrepancies: document the risk, interim measure, responsible owner and resolution deadline.
- Decision record: name the approvers, the date and any explicitly excluded functions or user groups.
Repeat access tests after role and system changes
Approval before go-live is a snapshot. During ongoing operation, access tests should therefore be tied to specific changes: new roles, revised sharing rules, additional data objects, CRM updates or changes to integrations. Deliberate permission changes are not the only concern. New defaults, inherited group permissions or a different execution context for an automated process can also alter effective access. Responsibility for triggering tests therefore belongs in the relevant change process, rather than solely in an annual review.
The approved role tests form a continuously maintained regression test suite. For each change, determine which cases need to be rerun based on its dependencies. A change to a shared base role, for example, requires broader testing than an isolated change to a single view. Regardless of this assessment, a small, risk-based core set should run whenever production permissions change. Automated checks are suitable for stable access routes; manual tests remain necessary where the user interface, session context or multi-stage workflows influence the result.
Tests in a pre-production environment are meaningful only if its roles, sharing rules and relevant system settings match the planned production configuration. After deployment, supplement this testing with a targeted, non-destructive check in production, without unnecessarily exposing real customer data. Regular repeat testing is also useful for detecting gradual drift caused by individual administrative changes. The scope and frequency depend on protection requirements and the pace of change; for particularly critical access, a failed test should block the change or trigger a predefined rollback process.
- Add affected roles, dependent functions and the required testing scope to change requests.
- Adjust expected test results only after business approval of permission changes, not simply to eliminate failed tests.
- Protect automated test accounts against unintended additional permissions so that expanded access does not go unnoticed.
- Treat administrative changes made outside regular releases as triggers for renewed access testing too.