Sugar Network/Resources: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
| [[File:Sugar-Network-diagram.png|200px|thumb|Sugar Network objects]] | | [[File:Sugar-Network-diagram.png|200px|thumb|Sugar Network objects]] | ||
|} | |} | ||
'''Resource.authority''' | |||
A dictionary of ''User'' guids and integers with roles information. Role value is a bit-wise ORed value of the following constants: | |||
* {{Code|1}}<br>corresponding user is the original author of the object; if it is not set, user is only a maintainer, e.g., an uploader of a book which has its original authors; if it is set, user name (not guid) will be automatically added to the {{Code|author}} property in addition to directly set authors. | |||
'''Resource.layers''' | '''Resource.layers''' | ||