Platform Team/Sugar Network/Architecture: Difference between revisions

No edit summary
Line 61: Line 61:


The model refers to the following additional information:
The model refers to the following additional information:
==== Sugar Network layers ====
This is an attempt to generalize the idea of [http://groups.google.com/group/sugar-network/browse_thread/thread/4cad05ec801f364c user/resource levels] with idea that objects should not be removed from the Network immediately (only hidden, and permanently removed by Network administrators). So, every resource is associated with a layer, i.e., it might be visible for observers only if they requested this layer and have permissions to see it.
For now, implemented only the following list of layers, but it might be reused for [http://groups.google.com/group/sugar-network/msg/f5a1b4d78494a5d3 teachers related workflows] later:
* {{Code|general}}, the default layer for observers and Network objects; all users can see objects on this layer;
* {{Code|deleted}}, Network objects' layer will be changed to {{Code|deleted}} after removing objects by users.
==== Events types ====
* {{Code|create}}<br>object was created;
* {{Code|update}}<br>object's properties were modified;
* {{Code|delete}}<br>object was deleted (hidden);
* {{Code|vote}}<br>object was voted/unvoted.
==== Licences ====
Short license names. The licenses should conform with the [[Activity Library]] licensing [[Activity_Library/Editors/Policy/Licensing|policy]].


=== Simplified editing workflow ===
=== Simplified editing workflow ===