Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
midPoint_container/demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/archetypes/300-archetype-affiliation.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
72 lines (72 sloc)
3.2 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<archetype xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | |
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3" | |
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | |
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" | |
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" | |
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | |
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | |
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ext="http://grouper-demo.tier.internet2.edu" | |
oid="56f53812-047d-4b69-83e8-519a73d161e1"> | |
<name>affiliation</name> | |
<extension> | |
<ext:grouperNamePrefix>ref:affiliation:</ext:grouperNamePrefix> | |
<ext:ldapRootDn>ou=Affiliations,ou=Groups,dc=internet2,dc=edu</ext:ldapRootDn> | |
<ext:midPointNamePrefix>affiliation_</ext:midPointNamePrefix> | |
<ext:midPointDisplayNamePrefix>Affiliation: </ext:midPointDisplayNamePrefix> | |
</extension> | |
<archetypePolicy> | |
<display> | |
<label>Affiliation</label> | |
<pluralLabel>Affiliations</pluralLabel> | |
<icon> | |
<cssClass>fa fa-superpowers</cssClass> | |
<color>steelblue</color> | |
</icon> | |
</display> | |
</archetypePolicy> | |
<assignment> | |
<targetRef oid="bcaec940-50c8-44bb-aa37-b2b5bb2d5b90" relation="org:default" type="c:RoleType" /> <!-- metarole-grouper-provided-group --> | |
</assignment> | |
<assignment> | |
<targetRef oid="8da46694-bd71-4e1e-bfd7-73865ae2ea9a" relation="org:default" type="c:RoleType" /> <!-- metarole-ldap-group --> | |
</assignment> | |
<inducement> | |
<targetRef oid="1d7c0e3a-4456-409c-9f50-95407b2eb785" relation="org:default" type="c:OrgType" /> <!-- affiliations --> | |
</inducement> | |
<!-- Group-type-specific data --> | |
<inducement> | |
<construction> | |
<resourceRef oid="e417225d-8a08-46f3-9b5d-624990b52386" relation="org:default" type="c:ResourceType" /> <!-- Faculty CSV --> | |
</construction> | |
<order>2</order> | |
<condition> | |
<expression> | |
<script> | |
<code>assignmentPath[0].target.identifier == 'faculty'</code> | |
</script> | |
</expression> | |
</condition> | |
</inducement> | |
<!-- TODO MidPoint Basics Training, LAB 4-6: uncomment the following content --> | |
<!-- | |
<inducement> | |
<description> | |
This inducement applies for Users assigned to an Org with the "affiliation" archetype. | |
It will create an account in "Staff Portal" by assignment of "Staff Portal Basic Role" | |
</description> | |
<targetRef oid="1620de52-0142-11ea-aa66-9fa873ad13ff" type="c:RoleType" /> | |
<order>2</order> | |
<condition> | |
<description>only if the organization's identifier is 'staff'</description> | |
<expression> | |
<script> | |
<code>assignmentPath[0].target.identifier == 'staff'</code> | |
</script> | |
</expression> | |
</condition> | |
</inducement> | |
--> | |
<!-- TODO MidPoint Basics Training, LAB 4-6: end of to-be-uncommented content --> | |
</archetype> |