Here are the differences between the previous patchset (v1) and this one:
- New patch "Use proper term "user name" instead of "user
id"" has been added.
- Patch "Return users and groups when fetching VM info" has been updated to log
the exception message when there is an invalid metadata value in a VM. Notice
that an invalid metadata value can only be written to the VM XML by external
access; users from within Kimchi will always store correct value through
the app.
- Rebased to 5d82241.
Crístian Viana (5):
Override only the updated "User" methods in "patch_auth"
Use proper term "user name" instead of "user id"
Add functions to check if a user/group exists
Return users and groups when fetching VM info
Add/remove users and groups to VMs
docs/API.md | 6 ++++
po/en_US.po | 2 +-
po/kimchi.pot | 2 +-
po/pt_BR.po | 2 +-
po/zh_CN.po | 2 +-
src/kimchi/API.json | 22 ++++++++++++++
src/kimchi/auth.py | 60 ++++++++++++++++++++++++++------------
src/kimchi/control/vms.py | 6 ++--
src/kimchi/i18n.py | 8 +++++-
src/kimchi/mockmodel.py | 4 ++-
src/kimchi/model/vms.py | 62 ++++++++++++++++++++++++++++++++++++----
src/kimchi/root.py | 4 +--
tests/test_authorization.py | 19 ++++++++++++
tests/test_mockmodel.py | 2 +-
tests/test_model.py | 44 +++++++++++++++++++++++++++-
tests/test_rest.py | 10 ++++---
tests/utils.py | 26 +++++------------
ui/js/src/kimchi.login_window.js | 16 +++++------
ui/js/src/kimchi.user.js | 14 ++++-----
ui/pages/login-window.html.tmpl | 4 +--
20 files changed, 239 insertions(+), 76 deletions(-)
--
1.8.5.3