Description
Difficulty: Expert
Type: Test
Summary
Add role permission tests across admin, issuer, compliance, and investor operations.
Current Behaviour
Privileged operations may not be fully tested for wrong caller or wrong role failures.
Expected Behaviour
The test suite should verify that each protected function rejects unauthorised callers and preserves state.
Suggested Implementation
Create role matrix tests, wrong-caller tests, state consistency assertions, and docs.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This is security-critical.
Description
Difficulty: Expert
Type: Test
Summary
Add role permission tests across admin, issuer, compliance, and investor operations.
Current Behaviour
Privileged operations may not be fully tested for wrong caller or wrong role failures.
Expected Behaviour
The test suite should verify that each protected function rejects unauthorised callers and preserves state.
Suggested Implementation
Create role matrix tests, wrong-caller tests, state consistency assertions, and docs.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This is security-critical.