<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Following is the LDAP and PAM interfaces:<br>
    <br>
    <br>
    <img src="cid:part1.02010500.02020901@linux.vnet.ibm.com" alt=""><br>
    <br>
    <br>
    <img src="cid:part2.09050503.01070402@linux.vnet.ibm.com" alt=""><br>
    <br>
    <br>
    My suggestion is to keep the same UI layout used by PAM
    authentication.<br>
    The difference will be:<br>
    <br>
    - Remove the groups columns on LDAP<br>
    - And display the users list empty in a first moment<br>
    - The filter will be used only for search LDAP users <br>
    - Aside the text input we should add a new button "Search"<br>
    - Once the "Search" button is selected we update the users list
    below with the returned data<br>
    - Then user can select how many users he want to assign to the VM
    and the same way we did for PAM.<br>
    <br>
    <div class="moz-cite-prefix">On 11/05/2014 08:21 AM,
      <a class="moz-txt-link-abbreviated" href="mailto:lvroyce@linux.vnet.ibm.com">lvroyce@linux.vnet.ibm.com</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:1415182875-30965-1-git-send-email-lvroyce@linux.vnet.ibm.com"
      type="cite">
      <pre wrap="">From: Royce Lv <a class="moz-txt-link-rfc2396E" href="mailto:lvroyce@linux.vnet.ibm.com">&lt;lvroyce@linux.vnet.ibm.com&gt;</a>

Users added will be validated when press save permission button,
invalid user will be labled as notice icon.
update vm request with invalid user will be rejected.
only user tag is supported for ldap.
This is tested agaist ldap integration v2.

Note:
 Due to capabilities query of authentication type is not added.
 This patch simply hided PAM permission tag part.
 Will address this issue after backend changed.

Royce Lv (2):
  UI: support ldap vm permission tag
  Change guest edit permission logic

 ui/css/theme-default/guest-edit.css |  79 ++++++++++++++-----
 ui/js/src/kimchi.api.js             |  13 +++-
 ui/js/src/kimchi.guest_edit_main.js | 146 ++++++++++++++++++++++++++++++------
 ui/pages/guest-edit.html.tmpl       |  28 ++++++-
 4 files changed, 218 insertions(+), 48 deletions(-)

</pre>
    </blockquote>
    <br>
  </body>
</html>