mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
e36e5e16bc
refs https://github.com/TryGhost/Team/issues/1688 We've moved the BREAD logic out of the endpoint and into a controller which interfaces with the `frame` object from our API framework. The service handles the core logic of comments, and has been updated with several fixes. This separation means we keep the HTTP API logic and the underlying comments logic decoupled. We've also updated the naming to make it clear that it is part of the members api. Permissions have been implemented, ensuring that members cannot create comments if they do not have the required access, but they are able to edit their existing comments, regardless of access. The edited_at field is now correctly updated when a comment is edited. |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |