From: Aline Manera <alinefm(a)br.ibm.com>
This patch set is based on Cristian's patches.
It uses the <metadata> tag to store users and groups to the VM XML.
It does not uses virDomain.setMetadata() as it does not well in some libvirt
versions.
Aline Manera (4):
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
CrÃstian Viana (1):
Override only the updated "User" methods in "patch_auth"
docs/API.md | 6 ++++
po/en_US.po | 55 ++++++++++++++++++++++++++++--
po/kimchi.pot | 55 ++++++++++++++++++++++++++++--
po/pt_BR.po | 63 ++++++++++++++++++++++++++++++++---
po/zh_CN.po | 62 +++++++++++++++++++++++++++++++---
src/kimchi/API.json | 22 ++++++++++++
src/kimchi/auth.py | 60 ++++++++++++++++++++++-----------
src/kimchi/control/vms.py | 6 ++--
src/kimchi/i18n.py | 10 ++++--
src/kimchi/mockmodel.py | 7 ++--
src/kimchi/model/vms.py | 68 ++++++++++++++++++++++++++++++++------
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, 457 insertions(+), 96 deletions(-)
--
1.7.10.4