Added notion of author (owner) and editor to allow the editing of node by non owner users.
This commit is contained in:
@@ -33,6 +33,9 @@ feature -- Access
|
||||
if attached n.author as u then
|
||||
Result.put (user_to_json (u), "author")
|
||||
end
|
||||
if attached n.editor as u then
|
||||
Result.put (user_to_json (u), "editor")
|
||||
end
|
||||
create jo.make_empty
|
||||
if attached n.format as l_format then
|
||||
jo.put_string (l_format, "format")
|
||||
|
||||
Reference in New Issue
Block a user