Changes between Version 8 and Version 9 of BluePrintAuthorization


Ignore:
Timestamp:
06/18/10 17:47:04 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v8 v9  
    77   * Change {{{deployment_settings.modules}}} from a list of strings to a list of dicts
    88{{{
     9# Need to define Roles in dict for visibility by modules before inserted into DB
     10deployment_settings.auth.roles = {
     11    1 : "Administrator",
     12    2 : "Authenticated",
     13    ....
     14    6 : "AdvancedJS",
     15}
     16
    917deployment_settings_modules = Storage(
    1018    name = "gis",
     
    1523    module_type = 2,
    1624    resource_readable = Storage(
    17         layer_js = None,
     25        apikey = 1,
    1826    )
    1927    resource_writable = Storage(
    20         layer_js = "|6|",        # How to look up this 'magic' number before we've got a database yet? :/
     28        layer_js = deployment_settings.auth.roles["AdvancedJS"],
    2129    )
    2230)