Change VM creation auth failure message bds/errormessage 0.1.54
authorBen Steffen <bds@mit.edu>
Tue, 5 Nov 2019 02:09:34 +0000 (21:09 -0500)
committerBen Steffen <bds@mit.edu>
Tue, 5 Nov 2019 03:01:22 +0000 (22:01 -0500)
Add info to VM creation auth failure message to include info about system:anyuser needing the l permission

code/validation.py
debian/changelog

index 26a49a3..003df61 100755 (executable)
@@ -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
index 43113e8..4eb32d9 100644 (file)
@@ -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 <bds@mit.edu>  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