Use case StRS-MDOKFSTUDIO-TRUST-001
A document opens editable whatever the trust, with narrow reads outside a trusted folder
As a writer, I open a document in Restricted Mode, or a file from outside my workspace, and edit it as I do anywhere else; the preview reads no more than the folder of the document, and I am told why a feature that needs trust is off.
Use case diagram
How it is split
This use case (StRS) is reached by one path (the coloured line). A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests.
path 1: Edit in an untrusted workspace other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Edit in an untrusted workspace
- A preview is created for a document in no workspace folder, or in an untrusted workspaceSwRS-MDOKFSTUDIO-TRUST-001 a feature that needs trust stays disabled and gives its reasonSwRS-MDOKFSTUDIO-TRUST-001 · 16 tests every affordance that edits, comments or changes the document is kept, as in a trusted workspace
- The document is editableSwRS-MDOKFSTUDIO-TRUST-005 the citation list needs a trusted workspace folder and the refusal names its causeSwRS-MDOKFSTUDIO-TRUST-005 · 17 tests a write request for the render the host holds is handled as for a trusted workspace
- The edit is written to the document
This map has 48 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 2 behaviours on the map are tested one by one, with 11 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-TRUST-001A document is editable whatever the trust; only its reads are restricted 16 testsSwRS-MDOKFSTUDIO-TRUST-005The host handles the page messages of every preview, whatever the trust 17 tests
SwRS-MDOKFSTUDIO-TRUST-006A preview with restricted reads keeps every viewing action superseded superseded by SwRS-MDOKFSTUDIO-TRUST-005 Markdown file