<!--
  ~ Copyright (c) 2019 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<archetype oid="00000000-0000-0000-0000-000000000328"
        xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
        xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
        xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>
    <name>Application role</name>
    <description>
        Application roles are basic roles. They are related to applications.
        The application roles are integrating technical components for creation
        of user access with business description of the access.
    </description>
    <archetypePolicy>
        <display>
            <label>
                <orig>Application role</orig>
                <translation>
                    <key>applicationRole.label</key>
                </translation>
            </label>
            <pluralLabel>
                <orig>Application roles</orig>
                <translation>
                    <key>applicationRole.pluralLabel</key>
                </translation>
            </pluralLabel>
            <icon>
                <cssClass>fe fe-role</cssClass>
                <color>blue</color>
            </icon>
        </display>
    </archetypePolicy>
    <assignment id="1">
        <identifier>holderType</identifier>
        <assignmentRelation id="2">
            <holderType>RoleType</holderType>
        </assignmentRelation>
    </assignment>
</archetype>
