mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
0dc6dc29a7
Closes #2738 - Re-introduce the TargetModel.permissable interface check in the regular permission flow path - Pass loadedPermissions, hasUserPermission and hasAppPermission to permissable interface to reduce logic necessary - Refactor recursive call to pass original arguments but with actual model - Refactor canThis(this.user) use in api/posts.js to just canThis(this) |
||
---|---|---|
.. | ||
client | ||
clientold | ||
server | ||
shared | ||
test | ||
bootstrap.js | ||
index.js | ||
server.js |