app/soc/logic/rights.py
changeset 1314 b832e02d70c1
parent 1307 091a21cf3627
child 1318 3f41f33a4ad2
equal deleted inserted replaced
1313:ec79c190f5ca 1314:b832e02d70c1
    67   RIGHTS = {
    67   RIGHTS = {
    68       'site': SITE_MEMBERSHIP,
    68       'site': SITE_MEMBERSHIP,
    69       'club': CLUB_MEMBERSHIP,
    69       'club': CLUB_MEMBERSHIP,
    70       'sponsor': SPONSOR_MEMBERSHIP,
    70       'sponsor': SPONSOR_MEMBERSHIP,
    71       'program': PROGRAM_MEMBERSHIP,
    71       'program': PROGRAM_MEMBERSHIP,
    72       'organization': ORGANIZATION_MEMBERSHIP,
    72       'org': ORGANIZATION_MEMBERSHIP,
    73       'user': USER_MEMBERSHIP,
    73       'user': USER_MEMBERSHIP,
    74       }
    74       }
    75 
    75 
    76   def __init__(self, prefix):
    76   def __init__(self, prefix):
    77     """Constructs a Checker for the specified prefix.
    77     """Constructs a Checker for the specified prefix.