From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
v3>v4,
Move authentication type report to capabilities.
Be back compatible for old access label.
Change try/exception logic in ldap authentication.
Royce Lv (8):
Add configuration of LDAP
Split PAM and LDAP authentication
Add LDAP authentication
Fix test cases for authentication
Split users and groups for permission query
Move validation to authorizaiton
change vm permission tag
Update test model to fix user/group listing
contrib/DEBIAN/control.in | 1 +
contrib/kimchi.spec.fedora.in | 1 +
contrib/kimchi.spec.suse.in | 1 +
docs/API.md | 20 +++---
docs/README.md | 36 +++++-----
src/kimchi.conf.in | 17 +++++
src/kimchi/auth.py | 155 +++++++++++++++++++++++++++++++-----------
src/kimchi/config.py.in | 5 ++
src/kimchi/control/auth.py | 42 ++++++++++++
src/kimchi/control/host.py | 14 ----
src/kimchi/i18n.py | 1 +
src/kimchi/model/config.py | 1 +
src/kimchi/model/groups.py | 68 ++++++++++++++++++
src/kimchi/model/host.py | 19 ------
src/kimchi/model/users.py | 90 ++++++++++++++++++++++++
src/kimchi/model/vms.py | 62 ++++++++++++-----
tests/test_model.py | 3 +-
tests/test_rest.py | 4 +-
tests/utils.py | 43 ++++++++----
19 files changed, 451 insertions(+), 132 deletions(-)
create mode 100644 src/kimchi/control/auth.py
create mode 100644 src/kimchi/model/groups.py
create mode 100644 src/kimchi/model/users.py
--
1.8.3.2