]> BookStack Code Mirror - bookstack/commit
Addressed fallback override cases found during testing
authorDan Brown <redacted>
Tue, 24 Jan 2023 20:42:20 +0000 (20:42 +0000)
committerDan Brown <redacted>
Tue, 24 Jan 2023 20:42:20 +0000 (20:42 +0000)
commit8be36455ab7007334ca26fff28ebb1a99886de65
tree5d472601b3b8752644c936cb79b72cb273cc93d6
parentd1bd6d0e3919ccdf22c74ebf29282475288132bd
Addressed fallback override cases found during testing

Had misalignment between query and usercan, The nuance between fallback
and entity-role permissions was not taken into account by the query
system. Now added with new test cases to cover.
app/Auth/Permissions/EntityPermissionEvaluator.php
app/Auth/Permissions/JointPermissionBuilder.php
app/Auth/Permissions/MassEntityPermissionEvaluator.php
dev/docs/permission-scenario-testing.md
tests/Helpers/PermissionsProvider.php
tests/Permissions/Scenarios/EntityRolePermissionsTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.