Readded notEnoughPermission message in post model (#14759)

no issue

The message was removed somewhere, but the git history looks to be modified so I couldn't find the reference to when and why it was removed (the message seems to be added and removed in the same commit).

Added in: e849167472
No reference to where it was removed. But after the same commit above, it wasn't present any longer.
This commit is contained in:
Simon Backx 2022-05-11 17:52:06 +02:00 committed by GitHub
parent 196b8ad0da
commit 23c88d250e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,8 @@ const messages = {
isAlreadyPublished: 'Your post is already published, please reload your page.',
valueCannotBeBlank: 'Value in {key} cannot be blank.',
expectedPublishedAtInFuture: 'Date must be at least {cannotScheduleAPostBeforeInMinutes} minutes in the future.',
untitled: '(Untitled)'
untitled: '(Untitled)',
notEnoughPermission: 'You do not have permission to perform this action'
};
const MOBILEDOC_REVISIONS_COUNT = 10;