Added notion of author (owner) and editor to allow the editing of node by non owner users.
This commit is contained in:
@@ -37,7 +37,7 @@ feature {NONE} -- Initialization
|
||||
make
|
||||
-- Create Current module, disabled by default.
|
||||
do
|
||||
version := "1.0"
|
||||
version := "1.0.0.1"
|
||||
description := "Service to manage content based on 'node'"
|
||||
package := "core"
|
||||
-- Optional dependencies, mainly for information.
|
||||
@@ -327,7 +327,7 @@ feature -- Hooks
|
||||
end
|
||||
end
|
||||
ch.set_information (l_info)
|
||||
ch.set_author (n.author)
|
||||
ch.set_author (n.editor)
|
||||
ch.set_summary (n.summary)
|
||||
if attached {CMS_TAXONOMY_API} l_node_api.cms_api.module_api ({CMS_TAXONOMY_MODULE}) as l_taxonomy_api then
|
||||
if attached l_taxonomy_api.terms_of_content (n, Void) as l_terms then
|
||||
|
||||
Reference in New Issue
Block a user