app/soc/logic/rights.py
changeset 1143 b07b7d5b3e27
parent 1136 aaf75aa8eca5
child 1299 e209bda5addb
equal deleted inserted replaced
1142:da2487767ef4 1143:b07b7d5b3e27
    70       'organization': ORGANIZATION_MEMBERSHIP,
    70       'organization': ORGANIZATION_MEMBERSHIP,
    71       'user': USER_MEMBERSHIP,
    71       'user': USER_MEMBERSHIP,
    72       }
    72       }
    73 
    73 
    74   def __init__(self, prefix):
    74   def __init__(self, prefix):
    75     """Constructs a Checker for the specified prefix
    75     """Constructs a Checker for the specified prefix.
    76     """
    76     """
    77 
    77 
    78     self.prefix = prefix
    78     self.prefix = prefix
    79     self.rights = self.RIGHTS[prefix]
    79     self.rights = self.RIGHTS[prefix]
    80 
    80