Changes between Version 11 and Version 12 of BluePrintAuthorization


Ignore:
Timestamp:
06/18/10 21:00:07 (11 years ago)
Author:
Fran Boon
Comment:

docs in comments

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v11 v12  
    1818    name = "gis",
    1919    name_nice = "Mapping",
    20     readable = None,
    21     writable = None,
    2220    description = "Situation Awareness & Geospatial Analysis",
    23     module_type = 2,
     21    readable = None,    # All Users (inc Anonymous) can see this module in the default menu & access the controller
     22    writable = None,    # All Authenticated users can edit resources which aren't specially protected
     23    module_type = 2,    # Used to locate the module in the default menu
    2424    resource_readable = Storage(
    25         apikey = 1,
     25        apikey = 1,     # This resource is only visible to Administrators
    2626    )
    2727    resource_writable = Storage(
    28         layer_js = deployment_settings.auth.roles["AdvancedJS"],
     28        layer_js = deployment_settings.auth.roles["AdvancedJS"],    # This resource requires the 'AdvancedJS' role to edit (or admin)
    2929    )
    3030)