Hello community, here is the log from the commit of package cobbler for openSUSE:Factory checked in at 2019-03-13 09:13:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cobbler (Old) and /work/SRC/openSUSE:Factory/.cobbler.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cobbler" Wed Mar 13 09:13:35 2019 rev:49 rq:684237 version:3.0+git20190222.9e502a9d Changes: -------- --- /work/SRC/openSUSE:Factory/cobbler/cobbler.changes 2019-03-10 09:39:47.912112688 +0100 +++ /work/SRC/openSUSE:Factory/.cobbler.new.28833/cobbler.changes 2019-03-13 09:13:41.399396273 +0100 @@ -1,0 +2,8 @@ +Fri Mar 8 10:52:54 UTC 2019 - Enno Gotthold <[email protected]> + +- Added a patch which fixes an exception when login in with a non-root user. + +- Added: + * fix-login-error.patch + +------------------------------------------------------------------- New: ---- fix-login-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cobbler.spec ++++++ --- /var/tmp/diff_new_pack.ytIWmF/_old 2019-03-13 09:13:44.595395943 +0100 +++ /var/tmp/diff_new_pack.ytIWmF/_new 2019-03-13 09:13:44.599395942 +0100 @@ -40,6 +40,8 @@ Patch0: fix_hardcoded_libpath_for_websession.patch Patch1: fix_shebang.patch Patch2: adds_suse_manager_as_distro.diff +# Pull Request: https://github.com/cobbler/cobbler/pull/2035 +Patch3: fix-login-error.patch BuildRequires: Cheetah3 BuildRequires: apache-rpm-macros BuildRequires: apache2 @@ -122,6 +124,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %python_build ++++++ fix-login-error.patch ++++++ diff --git a/cobbler/remote.py b/cobbler/remote.py index 17089166..8089cde7 100644 --- a/cobbler/remote.py +++ b/cobbler/remote.py @@ -1845,7 +1845,7 @@ class CobblerXMLRPCInterface(object): return False def check_access(self, token, resource, arg1=None, arg2=None): - user = self.get_user_from_token(token.data) + user = self.get_user_from_token(token) if user == "<DIRECT>": self._log("CLI Authorized", debug=True) return True
