mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🐛 Fixed draft pages not saving on forced revisions (#17081)
closes https://github.com/TryGhost/Team/issues/3493 - Fixed pages not saving on force revision. As a side effect, it broke admin navigation as it doesn't manage to create a new revision upon going back to the pages list. - This was simply caused by a missing option in the API endpoint config. --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at b646916</samp> This change enables the `pages` endpoint to handle page revisions by adding the `save_revision` permission. This is part of a pull request that adds page versioning and restoring functionality to Ghost.
This commit is contained in:
parent
3a58b6402a
commit
543f3750a7
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ module.exports = {
|
||||||
'formats',
|
'formats',
|
||||||
'source',
|
'source',
|
||||||
'force_rerender',
|
'force_rerender',
|
||||||
|
'save_revision',
|
||||||
// NOTE: only for internal context
|
// NOTE: only for internal context
|
||||||
'forUpdate',
|
'forUpdate',
|
||||||
'transacting'
|
'transacting'
|
||||||
|
|
Loading…
Add table
Reference in a new issue