Open
Description
If I have a document that's readonly according to its ACL, I can still edit it in the DA editor. Modification won't be persisted, but it appears that the document is edited.
This issue seems to have been introduced with c17a025
The error can be observed in the Playwright tests, e.g. see this run: https://github.com/adobe/da-live/actions/runs/15827448838/job/44613178061
The easiest way to reproduce is by running the playwright tests locally. Like this:
in .../da-live/test/e2e run for (pwd provide the password for the [email protected]
user}:
$ TEST_PASSWORD='<pwd>' npx playwright test --project=chromium tests/authenticated/acl_doc.spec.js --debug
Once the UI appears, step through it (with F10) until line 21 of acl_doc.spec.js:

Then the screen will look like the attached screenshot, where you can see the 'readonly lock' but you can still edit text.
