[midPoint] ROLES LOOKUP TABLES

Carlos Ferreira carlos18619 at gmail.com
Sat Oct 29 15:44:36 CEST 2016


Hi,

I have a "Role Template" (taken from Midpoint Wiki), as follows:

<objectTemplate xmlns="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
                xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
                xmlns:icfs="
http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
"
                xmlns:ri="
http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                oid="10000000-0000-0000-0000-000000000241"
                version="0">
   <name>Role Template</name>
   <metadata>
      <createTimestamp>2016-10-29T09:30:35.745-02:00</createTimestamp>
      <creatorRef oid="00000000-0000-0000-0000-000000000002"
type="c:UserType"><!-- administrator --></creatorRef>
      <createChannel>
http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport
</createChannel>
   </metadata>
   <item>
      <c:ref>roleType</c:ref>
      <valueEnumerationRef oid="d5fa5e92-e450-11e4-b281-001e8c717e5b"/>
   </item>
   <mapping>
      <name>Responsibility metarole assignment</name>
      <authoritative>true</authoritative>
      <strength>strong</strength>
      <source>
         <c:path xmlns:ext="
http://midpoint.evolveum.com/xml/ns/story/orgsync/ext
">extension/ext:responsibility</c:path>
      </source>
      <expression>
         <assignmentTargetSearch>
            <targetType>c:RoleType</targetType>
            <oid>10000000-0000-0000-0000-000000006602</oid>
         </assignmentTargetSearch>
      </expression>
      <target>
         <c:path>assignment</c:path>
      </target>
      <condition>
         <script>
            <code>responsibility as Boolean</code>
         </script>
      </condition>
   </mapping>
</objectTemplate>


2. I have a lookup table to list the possibilities for the "role type"
attribute:


<lookupTable xmlns="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
             xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
             xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
             xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
             xmlns:icfs="
http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
"
             xmlns:ri="
http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
             oid="d5fa5e92-e450-11e4-b281-001e8c717e5b"
             version="0">
   <name>Role Types</name>
   <metadata>
      <createTimestamp>2016-10-29T09:36:04.102-02:00</createTimestamp>
      <creatorRef oid="00000000-0000-0000-0000-000000000002"
type="c:UserType"><!-- administrator --></creatorRef>
      <createChannel>
http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport
</createChannel>
   </metadata>
   <row id="2">
      <key>application</key>
      <label>Application</label>

<lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp>
   </row>
   <row id="4">
      <key>business</key>
      <label>Business</label>

<lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp>
   </row>
   <row id="3">
      <key>it</key>
      <label>IT</label>

<lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp>
   </row>
   <row id="1">
      <key>system</key>
      <label>System</label>

<lastChangeTimestamp>2016-10-29T09:36:04.138-02:00</lastChangeTimestamp>
   </row>
</lookupTable>


3. However, when I try do add a new role, I cannot see the lookup table
options while filling the "role type" attribute. What is missing?


Carlos Antonio Ferreira
Tribunal Regional do Trabalho da 3ª Região
MG Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161029/7a35a12b/attachment.htm>


More information about the midPoint mailing list