]> BookStack Code Mirror - bookstack/commit
Attempted fix of issues, realised new query system is a failure
authorDan Brown <redacted>
Sat, 14 Jan 2023 13:50:41 +0000 (13:50 +0000)
committerDan Brown <redacted>
Sat, 14 Jan 2023 13:50:41 +0000 (13:50 +0000)
commit55642a33ee7b3221b760ff6ebf122d5f7e8a49c8
treeda33210aa38c370bb07e3ef8d8b75f2245cce200
parent93ba5723697a6a0e8ac3a4aae092f18ee9bd98fe
Attempted fix of issues, realised new query system is a failure

As part of the permission checking we need to check owner user status.
Upon this, we'd also want to check page draft status (and its
creator/owner).
These, for cross-entity/relation queries would need up to another 4 joins.
The performance/index usage is already questionable here.
app/Actions/ActivityQueries.php
app/Auth/Permissions/PermissionApplicator.php