Ignore:
Timestamp:
Aug 10, 2009, 9:54:07 PM (15 years ago)
Author:
broder
Message:

invirt-console:

  • Give the website access to all consoles in preparation for exposing AjaxTerm?.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-console/server/usr/bin/invirt-consolefs

    r2157 r2426  
    7171        self.recache()
    7272        machine = self.machines[machine]
    73         users = [acl.user for acl in machine.acl]
    74         return "\n".join(map(self.userToPrinc, users) + [''])
     73        users = (acl.user for acl in machine.acl)
     74        users = [self.userToPrinc(u) for u in users]
     75        users.append('daemon/%s@%s' % (config.web.hostname,
     76                                       config.kerberos.realm))
     77        users.append('')
     78        return "\n".join(users)
    7579   
    7680    def mirrorPath(self, path):
Note: See TracChangeset for help on using the changeset viewer.