mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03: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) |
||
---|---|---|
.. | ||
db.js | ||
index.js | ||
mail.js | ||
notifications.js | ||
posts.js | ||
settings.js | ||
tags.js | ||
users.js |