Another Example of SPDL: Define User Roles
<object_roles name=”viewer”>
- <role_item name=”creator” mode=“static” >
- <user_group>syracuse</user_group>
- </role_item>
- <role_item name=”observer” mode=“static” >
- <user_group>boston</user_group>
- <user_group>washington</user_group>
- </role_item>
The fragment of the SPDL document on this page defines the roles for the users of the shared object: in particular we illustrate with the roles creator and observer.