From: Ben Steffen Date: Tue, 5 Nov 2019 02:09:34 +0000 (-0500) Subject: Change VM creation auth failure message X-Git-Tag: 0.1.54^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/b9e068a6e15e1726faa7c688244642b2dfebff09?hp=75c4a9e05a3ae02a62fa84f7313bfbc9b2503f8c Change VM creation auth failure message Add info to VM creation auth failure message to include info about system:anyuser needing the l permission --- 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