feat: restore page version

This commit is contained in:
NGPixel
2020-02-29 23:40:07 -05:00
committed by Nicolas Giard
parent e50dc89519
commit e85de92715
5 changed files with 125 additions and 8 deletions

View File

@@ -153,6 +153,10 @@ module.exports = {
message: 'Destination page path already exists.',
code: 6006
}),
PageRestoreForbidden: CustomError('PageRestoreForbidden', {
message: 'You are not authorized to restore this page version.',
code: 6011
}),
PageUpdateForbidden: CustomError('PageUpdateForbidden', {
message: 'You are not authorized to update this page.',
code: 6009