-
Notifications
You must be signed in to change notification settings - Fork 11
MOM CA: Charter editors
GVogeler edited this page Nov 8, 2020
·
4 revisions
- "Save and edit": creates an
xrx:saved
-entry in the{USERID}.xml//xrx:saved_list
and copies the current XML intometadata.charter.saved
under the name of the atom:id (replacing/
with#
). Attention: if by any reasons the/xrx:user/xrx:storage/xrx:saved_list
-path does not exist, the service cannot create the entry in the {USERID}.xml. - "edit": User modifies the copy in
metadata.charter.saved
. The charters in their realm are listed in the user's individual profilexrx.user/{USERID}.xml
inxrx:saved
. The profile stores for each saved charter the atom:id (xrx:id
), the date of saving (xrx:start
) and the release status (xrx:freigabe
with the defaultno
, set toyes
with the release, andxrx:release
with the date_time of the release. - "release": In the user-profile
xrx:freigabe
is set toyes
,xrx:released
is added with the current time. Send a notification mail to the moderator stored inxrx.user\{USERID}\{user}.xml
inxrx:moderator
. - "moderate": ?? moderator can see diff (...), reject the changes (...), or publish the version. "publish" calls the service
publish-charter
defined inapp/publication
. - "publish": is defined in the service
publish-charter
inapp/publication/service
. It copies the charter to the its original place removes the charter from the metadata.charter.saved, deletes the reference in the user profile, and sends a notification of the publication to the user and the moderator. The service usesatom-tag-name
as parameter. The updates are done via the atom-methods defined in the core.
-
"add bookmarked charter to collection": creates an empty XML from the template in the collection, adding an
<atom:link rel="versionOf" href="{ATOM:ID}">
to the atom-header -
"publish collection": copies the charter data from the user-space (
xrx.user/metadata.charters
) to metadata.charters.public and the collection data from user/metadata.mycollection to metata.mycollection.public