Open tristan-orourke opened 5 months ago
There's probably 3 points of failure where data can unintentially be revealed to the wrong role:
On testing these:
Running queries with different roles is easy if you're expecting errors. It's more complicated if you're expecting different results.
Improving the organization of our unit/feature tests would help find gaps.
Block this on a spike to suggest improvements to PHPunit test organization
This comment was automatically written by the Blocking Issues bot, and this PR will be monitored for further progress.
🧪 Tests
Improve the unit tests for authorization roles. This includes putting some thought into how they can be improved
🕵️ Details
One suggestion is to verify that each role is missing the expected permissions, in addition to having the expected permissions. Another suggestion: create playwright tests for the signature flows of each role.
🙋♀️ Proposed Solution
Not yet.
✅ Acceptance Criteria
A set of assumptions which, when tested, verify that the debt tests were properly updated and remains functional/passing.
🛑 Blockers
Issues which must be completed before this one.