]> BookStack Code Mirror - bookstack/commit
Reworked userCan permission check to follow defined logic.
authorDan Brown <redacted>
Fri, 23 Dec 2022 21:07:49 +0000 (21:07 +0000)
committerDan Brown <redacted>
Fri, 23 Dec 2022 21:07:49 +0000 (21:07 +0000)
commit026e9030b9fd280d2034e74a30675da08b07549a
tree6eb10b7bc696927db102f173f5c8b165bf62e88f
parent451e4ac452f511073c8210cb5c7ec0c85d9a6072
Reworked userCan permission check to follow defined logic.

Got all current scenario tests passing.
Also fixes own permission which was using the wrong field.
app/Auth/Permissions/PermissionApplicator.php