]> BookStack Code Mirror - bookstack/commit
Added entity user permission scenarios
authorDan Brown <redacted>
Tue, 20 Dec 2022 15:50:41 +0000 (15:50 +0000)
committerDan Brown <redacted>
Tue, 20 Dec 2022 15:50:41 +0000 (15:50 +0000)
commit5ffc10e688b337a5e8b3347f11cac11618724072
tree4fe822a29aa66bd07f4e38839e74fa3b6bc386f1
parent6a6f5e4d1968b8b77165a9b37240e53c3047db26
Added entity user permission scenarios

Also added definitions for general expected behaviour to readme doc, and
added some entity role inherit scenarios to check they meet expectations.
Currently failing role test but not an issue with test, needs fixing to
app logic.
dev/docs/permission-scenario-testing.md
tests/Helpers/UserRoleProvider.php
tests/Permissions/Scenarios/EntityRolePermissions.php
tests/Permissions/Scenarios/EntityUserPermissions.php [new file with mode: 0644]