From: Evan Broder Date: Sat, 15 Nov 2008 04:17:15 +0000 (-0500) Subject: I still want to see all VMs, even the ones without an ACL X-Git-Tag: 0.0.9~7 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/7c1ee47b76dc81759140b566ebdccfbf63547243 I still want to see all VMs, even the ones without an ACL svn path=/trunk/packages/invirt-web/; revision=1644 --- diff --git a/code/webcommon.py b/code/webcommon.py index b9a6287..7410523 100644 --- a/code/webcommon.py +++ b/code/webcommon.py @@ -25,7 +25,7 @@ class State(object): def getMachines(self): if self.isadmin: - return Machine.query().join('acl').all() + return Machine.query().all() else: return Machine.query().join('acl').filter_by(user=self.username)