Page History
...
The repository returns only a list of the transitions that are allowed for the current user, based on the user's role in the repository. (User roles are also configurable in the repository, and again, the repository has a default set of roles with permissions. These are largely beyond the scope of this document.) For historical reasons, the transition query returns with a boolean indicating whether it is legal for the current user; in practice, a user will only see transitions they're allowed to perform.
In the SWEET, these transitions are represented by {{ Wiki Markup org.eaglei.ui.gwt.WorkFlowTransition
}}. These transitions \ [will be\] loaded from the repository, as are the states. The {{PrivilegesInfoProvider
}} is responsible for this loading and managing.
In order to prevent conflicting edits, each resource can only be edited by a single "owner". In order to edit a resource, a user must first claim the resource. The user is then set as the resource's workflow owner in the repository. No one else can claim the resource until it has been shared, either explicitly via the "share" button, or by a workflow transition. All workflow transitions clear existing ownership.
...
- LIST: list all resources meeting the criteria (including the filter criteria) from the
ApplicationState
. If atypeEntity
exists, show only resources with that as a base type (otherwise, show all resources). If aproviderEntity
exists, show only resources belonging to that lab (or other resource provider). TheApplicationState
is set to this mode by theLeftListGridRowWidget
, or after a resource has been deleted. - FILTER: the
ApplicationState
mode used when the user clicks the "go" button in theFilterPanel
. Shows only resources meeting the description from theApplicationState
, further refined by theFilterPanel
options (resources belonging to a subclass, only resources in Draft mode, etc). - RESOURCES: a (hackish) way to get an empty resources grid shown. In highly-populated repositories, trying to show all resources of all types from all labs is prohibitively slow. Resources mode short-circuits the process.
- REFERENCES: List all the resources that refer to the
instanceEntity
from theApplicationState
. Resource A refers to resource B if resource B is the value of a some property on resource A. (In rdf-speak, we're looking for all the subjects A where B is the predicate for some statement about A, and A is an instance of one of the types we consider as eagle-i resources.) - STUBS: List all the resources that were created through a "create new" mechanism in the edit form.unmigrated-wiki-markup
- _PROVIDERS_: Shows a list of all organizations to which resources can or should be added. \ [Note: currently broken--shows all organizations\]
- MYRESOURCES: Show exactly the resources for which the current user is the editor/has claimed the resource.
...