~raxnetworking/nova/bare_bones_melange

« back to all changes in this revision

Viewing changes to melange/common/auth.py

  • Committer: Rajaram Mallya
  • Date: 2011-09-15 07:31:58 UTC
  • Revision ID: rajarammallya@gmail.com-20110915073158-1e2qoi7kl0opy8zu
Rajaram/Vinkesh | Cleaned up the code a bit. Small style fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
 
47
47
class TenantBasedAuth(object):
 
48
 
48
49
    tenant_scoped_url = re.compile(".*/tenants/(?P<tenant_id>.*?)/.*")
49
50
 
50
51
    def authorize(self, request, tenant_id, roles):