mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +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) |
||
---|---|---|
.. | ||
app.js | ||
appField.js | ||
appSetting.js | ||
base.js | ||
index.js | ||
permission.js | ||
post.js | ||
role.js | ||
session.js | ||
settings.js | ||
tag.js | ||
user.js |