Changeset 1644 for trunk/packages


Ignore:
Timestamp:
Nov 14, 2008, 11:17:15 PM (16 years ago)
Author:
broder
Message:

I still want to see all VMs, even the ones without an ACL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/webcommon.py

    r1624 r1644  
    2626    def getMachines(self):
    2727        if self.isadmin:
    28             return Machine.query().join('acl').all()
     28            return Machine.query().all()
    2929        else:
    3030            return Machine.query().join('acl').filter_by(user=self.username)
Note: See TracChangeset for help on using the changeset viewer.