[midPoint] Multi construction on same object

Pálos Gustáv gustav.palos at gmail.com
Tue Dec 15 06:50:49 CET 2020


Hi Kevin,

Why can't you use 3 different intents?
kind=entitlement for all, and:
intent 1 =  artifactoryp_reader
intent 2 =  artifactoryp_deploy
intent 3 =  artifactoryp_manage
with near similar mappings expect name

best regards,

Gustav

ut 15. 12. 2020 o 2:01 Sylvaire kevin TIPA via midPoint <
midpoint at lists.evolveum.com> napísal(a):

> Hello,
>
>
>
> I search how to create multi construction with same intent and kind for
> one object.
>
>
>
> I have a org, than need to create  3 permission object construction. This
> object have the same kind and intent but different name. When I try to
> implement it, MP merge all the construction and give me a error because a
> try to create one object with multi value as name.
>
>
>
> What I want is 3 object with 3 name, aka, compute each construction as
> own. Do MP have this kind of think ?
>
>
>
> <inducement id="6">
>
>         <construction>
>
>             <resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb"
> relation="org:default" type="c:ResourceType">
>
>                 <!-- resource-artifactory -->
>
>             </resourceRef>
>
>             <kind>entitlement</kind>
>
>             <intent>artifactoryp</intent>
>
>             <attribute id="10">
>
>                 <c:ref xmlns:icfs="
> http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
> ">icfs:name</c:ref>
>
>                 <outbound>
>
>                     <strength>strong</strength>
>
>                     <source>
>
>                         <c:path>$focus/name</c:path>
>
>                     </source>
>
>                     <expression>
>
>                         <script xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="c:ScriptExpressionEvaluatorType">
>
>                             <code>
>
>                                     return name + "#reader"
>
>                                 </code>
>
>                         </script>
>
>                     </expression>
>
>                 </outbound>
>
>             </attribute>
>
>         </construction>
>
>         <order>2</order>
>
>         <focusType>c:OrgType</focusType>
>
>     </inducement>
>
>     <inducement id="7">
>
>         <construction>
>
>             <resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb"
> relation="org:default" type="c:ResourceType">
>
>                 <!-- resource-artifactory -->
>
>             </resourceRef>
>
>             <kind>entitlement</kind>
>
>             <intent>artifactoryp</intent>
>
>             <attribute id="11">
>
>                 <c:ref xmlns:icfs="
> http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
> ">icfs:name</c:ref>
>
>                 <outbound>
>
>                     <strength>strong</strength>
>
>                     <source>
>
>                         <c:path>$focus/name</c:path>
>
>                     </source>
>
>                     <expression>
>
>                         <script xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="c:ScriptExpressionEvaluatorType">
>
>                             <code>
>
>                                     return name + "#deploy"
>
>                                 </code>
>
>                         </script>
>
>                     </expression>
>
>                 </outbound>
>
>             </attribute>
>
>         </construction>
>
>         <order>2</order>
>
>         <focusType>c:OrgType</focusType>
>
>     </inducement>
>
>     <inducement id="8">
>
>         <construction>
>
>             <resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb"
> relation="org:default" type="c:ResourceType">
>
>                 <!-- resource-artifactory -->
>
>             </resourceRef>
>
>             <kind>entitlement</kind>
>
>             <intent>artifactoryp</intent>
>
>             <attribute id="12">
>
>                 <c:ref xmlns:icfs="
> http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
> ">icfs:name</c:ref>
>
>                 <outbound>
>
>                     <strength>strong</strength>
>
>                     <source>
>
>                         <c:path>$focus/name</c:path>
>
>                     </source>
>
>                     <expression>
>
>                         <script xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="c:ScriptExpressionEvaluatorType">
>
>                             <code>
>
>                                     return name + "#manage"
>
>                                 </code>
>
>                         </script>
>
>                     </expression>
>
>                 </outbound>
>
>             </attribute>
>
>         </construction>
>
>         <order>2</order>
>
>         <focusType>c:OrgType</focusType>
>
>     </inducement>
>
> Cordialement,
>
>
>
>
>
> [image: cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45]
>
>
>
> *Sylvaire-Kevin TIPA*
>
> *Thales Services / DIO / DevOps Automatisation *
>
> …………………………………………………………………………………………
>
> THALES SERVICES SAS
> 44 Quai Charles de Gaulle
> CS 20100
> 69463 Lyon Cedex 06
>
> …………………………………………………………………………………………
>
> www.thalesgroup.com
>
>
>
>
>
>
>
> This message contains confidential information and is intended only for
> the individual(s) addressed in the message. If you are not the named
> addressee, you should not disseminate, distribute, or copy this e-mail. If
> you are not the intended recipient, you are notified that disclosing,
> distributing, or copying this e-mail is strictly prohibited.
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
>


-- 
s pozdravom

Gustáv Pálos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201215/1c8ec433/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6112 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201215/1c8ec433/attachment-0001.png>


More information about the midPoint mailing list