Added notion of author (owner) and editor to allow the editing of node by non owner users.

This commit is contained in:
2017-03-03 11:12:51 +01:00
parent 4cbdfeff06
commit 6cb6dd1609
18 changed files with 248 additions and 70 deletions

View File

@@ -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")