<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Florin,</p>
    <p>yes, it is so.</p>
    <p>The "Execute after all approvals" is the default method. <br>
    </p>
    <p>On regular pages e.g. "Edit user", one can choose the method
      (Execute after all approvals / Execute immediately) simply by
      selecting/de-selecting the check box.<br>
      On "Request a role" page, there is no such box.</p>
    <p>--</p>
    <p>Here I send you a simple patch that will change the default
      behavior for "Request a role" page, as you requested.</p>
    <p>You can apply it to midPoint sources and build them via maven.</p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 22.09.2016 21:10, Florin. Stingaciu
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMQHPY2hL8NLTfPJ-E4aY6hyOOQMOEUMkVbDYGM6yWPzz-Tkgw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Reading through some of your documentation
        regarding "Execute after all approvals" versus "Execute
        Immediately". Is there any way to set Execute Immediately as the
        default execution strategy? 
        <div><br>
        </div>
        <div>When users use the Request A Role page, there is no such
          option. In order to not confuse our users, we'd prefer not
          even giving them this option to begin with and to just use
          "Execute Immediately" as the default. </div>
        <div><br>
        </div>
        <div>Thanks, </div>
        <div>-F </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Sep 22, 2016 at 11:45 AM,
          Florin. Stingaciu <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:fstingaciu@mirantis.com" target="_blank">fstingaciu@mirantis.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote">
            <div dir="ltr">I just checked on my dev instance and this is
              actually the case. Is there any way to disable this
              "feature" or some sort of workaround? 
              <div><br>
              </div>
              <div>Thanks, </div>
              <span class="HOEnZb">
                <div>-F </div>
              </span></div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Thu, Sep 22, 2016 at 11:40
                    AM, Florin. Stingaciu <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:fstingaciu@mirantis.com"
                        target="_blank">fstingaciu@mirantis.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote">
                      <div dir="ltr">If a user uses the request a role
                        page and requests multiple roles at once do all
                        of them get bundled into one request? Can this
                        mean that if a user requests two roles he must
                        be approved for both of them before the changes
                        are executed?
                        <div><br>
                        </div>
                        <div>Thanks, </div>
                        <span>
                          <div>-F </div>
                        </span></div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Thu, Sep 22,
                              2016 at 11:35 AM, Florin. Stingaciu <span
                                dir="ltr"><<a moz-do-not-send="true"
                                  href="mailto:fstingaciu@mirantis.com"
                                  target="_blank">fstingaciu@mirantis.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote">
                                <div dir="ltr"><span>Just a minor edit
                                    to the last email. It seems like the
                                    approval of the request was approved
                                    however the modify user action is
                                    stuck on "Changes waiting to be
                                    applied"</span><br>
                                </div>
                                <div>
                                  <div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Thu,
                                        Sep 22, 2016 at 11:34 AM,
                                        Florin. Stingaciu <span
                                          dir="ltr"><<a
                                            moz-do-not-send="true"
                                            href="mailto:fstingaciu@mirantis.com"
                                            target="_blank">fstingaciu@mirantis.com</a>></span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote">
                                          <div dir="ltr">Hey, 
                                            <div><br>
                                            </div>
                                            <div>There's nothing in my
                                              logs that's sticking out
                                              and we haven't really
                                              modified anything in the
                                              approval process. It seems
                                              like the approval of the
                                              request was approved
                                              however the modify user
                                              action is stuck waiting on
                                              an approval. This user has
                                              a a couple of other
                                              requests waiting for
                                              approval however these
                                              other requests are for
                                              other roles and I can't
                                              find any relationship
                                              between these requests... </div>
                                            <div><br>
                                            </div>
                                            <div>Is there anywhere I can
                                              check for interrelated
                                              requests?</div>
                                            <div><br>
                                            </div>
                                            <div>Thanks,</div>
                                            <div>-F </div>
                                          </div>
                                          <div>
                                            <div>
                                              <div class="gmail_extra"><br>
                                                <div class="gmail_quote">On
                                                  Thu, Sep 22, 2016 at
                                                  11:23 AM, Pavol
                                                  Mederly <span
                                                    dir="ltr"><<a
                                                      moz-do-not-send="true"
href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>
                                                  wrote:<br>
                                                  <blockquote
                                                    class="gmail_quote">
                                                    <div>
                                                      <p>Hello Florin,</p>
                                                      <p>if I'm not
                                                        mistaken, this
                                                        occurs if you
                                                        have e.g. two
                                                        independent
                                                        changes (in one
                                                        operation) that
                                                        both have to be
                                                        approved. After
                                                        first one is
                                                        approved, it
                                                        enters this
                                                        'waiting state'.
                                                        Just after
                                                        second one is
                                                        approved or
                                                        rejected, the
                                                        whole operation
                                                        is finished.</p>
                                                      <p>This behavior
                                                        can be changed
                                                        by de-selecting
                                                        "Execute after
                                                        all approvals".</p>
                                                      <p>Another
                                                        explanation
                                                        would be a bug
                                                        or some problem.
                                                        Is there
                                                        anything in your
                                                        log?</p>
                                                      <p>Best regards,<br>
                                                      </p>
                                                      <pre cols="72">Pavol Mederly
Software developer
<a moz-do-not-send="true" href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
                                                      <div>
                                                        <div>
                                                          <div>On
                                                          22.09.2016
                                                          20:11, Florin.
                                                          Stingaciu
                                                          wrote:<br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <blockquote
                                                        type="cite">
                                                        <div>
                                                          <div>
                                                          <div dir="ltr">Hello, 
                                                          <div><br>
                                                          </div>
                                                          <div>We use
                                                          approvers for
                                                          some of our
                                                          roles via the
                                                          Request a Role
                                                          pipeline. This
                                                          morning I ran
                                                          into this
                                                          situation
                                                          where a
                                                          request was
                                                          approved
                                                          however the
                                                          user is not
                                                          assigned to
                                                          the role. Upon
                                                          further
                                                          inspection it
                                                          seems that the
                                                          work item is
                                                          stuck in the
                                                          state of
                                                          "Changes
                                                          waiting to be
                                                          applied" (<a
                                                          moz-do-not-send="true"
href="http://imgur.com/a/LiQ01" target="_blank">http://imgur.com/a/LiQ01</a>).</div>
                                                          <div><br>
                                                          </div>
                                                          <div>I've
                                                          never
                                                          encountered
                                                          this state
                                                          before.
                                                          Usually when
                                                          an approver
                                                          approves a
                                                          request the
                                                          changes are
                                                          executed
                                                          immediately.
                                                          What would
                                                          cause this
                                                          scenario to
                                                          happen?</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks, </div>
                                                          <div>-F </div>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          </div>
                                                        </div>
                                                        <pre>______________________________<wbr>_________________
midPoint mailing list
<a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a>
</pre>
    </blockquote>
    

  </div>


______________________________<wbr>_________________

midPoint mailing list

<a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>

<a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a>


</blockquote></div>
</div>
</div></div></blockquote></div>
</div>
</div></div></blockquote></div>
</div>
</div></div></blockquote></div>
</div>
</div></div></blockquote></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>

</blockquote>
</body></html>