[midPoint] Documentation mistake - Approval metarole

Petr Gašparík - AMI Praha a.s. petr.gasparik at ami.cz
Wed Sep 2 11:53:05 CEST 2020


...I cannot see any <level> on said page ;)

On a serious note, the page was created pre-4.0 and the question is, if
this small change is enough...
Anyway, good catch, thank you!

--P


st 2. 9. 2020 v 11:05 odesílatel Loïc Schamber via midPoint <
midpoint at lists.evolveum.com> napsal:

> Hello Midpoint community !
>
>
>
> I found a small error while reading the documentation in order to set an
> approval policy.
>
> In the following link there is two XML sample :
> https://wiki.evolveum.com/display/midPoint/Using+Metaroles+for+Policy+Configuration
>
>
>
> In those sample we have the approval schema part defined like this:
>
>
>
> <approvalSchema>
>
>                             <level>
>
>                                 <name>Role approver</name>
>
>
>                                 <approverRelation>approver</approverRelation>
>
>
>                                 <evaluationStrategy>firstDecides</evaluationStrategy>
>
>
>                                 <outcomeIfNoApprovers>reject</outcomeIfNoApprovers>
>
>                             </level>
>
>                         </approvalSchema>
>
>
>
> However, in Midpoint 4.0.1 we should use <stage> rather than level.
> Using level wont result on an error, but the approvalSchema will be empty
> (<approvalSchema/>) which can create some questions like “WHY THE HELL MY
> POLICY IS NOT WORKING?!” 😉
>
>
>
> I don’t know if Documentation issue are relevant in the Mailing list or if
> Jira is more appropriate so let me know if it I shoud make a JIRA ticket!
>
>
>
> Best regards,
>
>
>
>
> *Loïc Schamber*  | Junior IT Consultant
>
>
> [image: logo] <https://www.serial.ch/>
>
>
>
> lschamber at serial.ch |  +41 22 555 27 69 <+41%2022%20555%2027%2069>
> Chemin du Pré-Fleuri 5 – CH 1228 Plan-les-Ouates
>
> [image: LinkedIn]
> <https://www.linkedin.com/company/redcactus-by-positivethinkingcompany>  [image:
> Instagram] <https://www.instagram.com/positivethinkingcompany>
>
> *Redcactus by SERIAL *www.serial.ch <http://www.serial.ch>
> www.positivethinking.co
>
> ------------------------------
>
> *Help save paper, do you really need to print this email?*
> *The content of this email and any attachments are confidential and are
> intended solely for the person and/or company to whom they are addressed.
> The information may also be legally privileged. No employee or agent is
> authorized to conclude any binding agreement on behalf of SERIAL with
> another party by email without express written confirmation. If you have
> received this email in error, any use, reproduction or dissemination of
> this transmission is strictly prohibited. If you are not the intended
> recipient, please immediately notify the sender by return E-mail and delete
> this message, its attachments and all copies from your system. Internet
> communications cannot be guaranteed to be timely, secure, error or
> virus-free. The sender does not accept liability for any errors or
> omissions. *
> *Thank you for your cooperation.  *
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200902/a822736e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6827 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200902/a822736e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 451 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200902/a822736e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1129 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200902/a822736e/attachment-0002.png>


More information about the midPoint mailing list