Implemented save/publish/unpublish control on nodes.

Display on published blogs (except for admin, or author of the related blog).
This commit is contained in:
Jocelyn Fiat
2017-03-30 17:16:02 +02:00
parent 230ef8ed18
commit e547279016
4 changed files with 102 additions and 27 deletions
-3
View File
@@ -248,11 +248,8 @@ feature {CMS_API_ACCESS} -- CMS Formats management
-- Save `formats`.
local
f: CMS_FORMAT
jp: JSON_PARSER
cfg: JSON_CONFIG
j,ji: JSON_OBJECT
s: STRING_32
l_name, l_title: READABLE_STRING_8
ct: CMS_CONTENT_TYPE
do
-- { "plain_text": { "title": "Plain text", "filters": "plain_text+foobar+toto"}, ...}