From b9e068a6e15e1726faa7c688244642b2dfebff09 Mon Sep 17 00:00:00 2001 From: Ben Steffen Date: Mon, 4 Nov 2019 21:09:34 -0500 Subject: [PATCH] Change VM creation auth failure message Add info to VM creation auth failure message to include info about system:anyuser needing the l permission --- code/validation.py | 3 ++- debian/changelog | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/code/validation.py b/code/validation.py index 26a49a3..003df61 100755 --- a/code/validation.py +++ b/code/validation.py @@ -244,7 +244,8 @@ def testOwner(user, owner, machine=None): try: if user not in authz.expandOwner(owner): raise InvalidInput('owner', owner, 'You do not have access to the ' - + owner + ' locker') + + owner + ' locker (Is system:anyuser missing ' + + 'the l permission?)') except getafsgroups.AfsProcessError, e: raise InvalidInput('owner', owner, str(e)) return owner diff --git a/debian/changelog b/debian/changelog index 43113e8..4eb32d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-web (0.1.54) precise; urgency=medium + + * Change VM creation auth failure message to include info about system:anyuser needing the l permission + + -- Ben Steffen Mon, 04 Nov 2019 21:03:04 -0500 + invirt-web (0.1.53) precise; urgency=medium * Fix hostname of URL in codebase in vnc_jnlp.mako -- 1.7.9.5