-
Notifications
You must be signed in to change notification settings - Fork 14
How to prepare to delegate the responsibility of a dataset during metadata creation
When a user is entering another user in the metadata of a dataset, this user should get rights automatically. e.g. in the metadata form, there is an owner defined. Entered users should get owner rights.
This only works with registered users!
Party Management
In the workspace/BAM folder, there is a PartyType.xml document that describes the parties in the system. (e.g. person, institute, project, group). The PartyType.xml (worspace/BAM/PartyType.xml) need to have three important nodes.
-
Party type for a person in the system
-
there must be a dataset party type
-
and a party relationship type
Mapping
For each metadata structure there must be a mapping between the person or person type in the metadata structure with the party type for a person in the system. For the initial metadata structures the mapping exists but for a new one, the mapping needs to be done.
[Example for the ABCD Schema]
the basic person type in ABCD Schema is call MicroAgentP and the system person type from the party management is called Person.
in the system there is a relationship with the name owner. This relationship needs to map a person in the metadata structure but not to a type. e.g. In the ABCD Schema there is an owner node with a child called person and this person has an attribute full name.
- Create a dataset with a metadata structure that is prepared with the mapping.
- Try to enter a name of a person into the name field of the owner.
- If there is a party in the system, then a autocomplete should have a selection of persons.
- Select one person form the autocomplete dropdown.
- Save the dataset
The user in the metadata form get the right that are defined in the PartyType.xml.