]> BookStack Code Mirror - bookstack/commit
Updated userCan logic to meet expectations in tests
authorDan Brown <redacted>
Mon, 23 Jan 2023 12:40:11 +0000 (12:40 +0000)
committerDan Brown <redacted>
Mon, 23 Jan 2023 12:40:11 +0000 (12:40 +0000)
commitf3f2a0c1d55681bbbf141f051b073a5b39100a51
tree5cb953eaead7a737bec1b759e75a692473b3cf96
parente2a72d16aa496cef250986d9f7cc02dd9564e647
Updated userCan logic to meet expectations in tests

Updated with similar logic to that used in the user_permissions branch,
but all extracted to a seperate class for doing all fetch and collapse
work.
app/Auth/Permissions/EntityPermissionEvaluator.php [new file with mode: 0644]
app/Auth/Permissions/PermissionApplicator.php