Changes between Version 79 and Version 80 of BluePrintAuthorization


Ignore:
Timestamp:
06/22/10 14:41:29 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v79 v80  
    7878def myfunction():
    7979    roles = session.s3.roles
    80     if not 1 in roles or (2 in roles and 3 in roles) and not 4 in roles:
     80    if not 1 in roles or (deployment_settings.auth.roles["BadRole1"] in roles and deployment_settings.auth.roles["BadRole2"] in roles) and not deployment_settings.auth.roles["GoodRole"] in roles:
    8181        # redirect out
    8282    ...