Changes between Version 11 and Version 12 of BluePrintAuthorization
- Timestamp:
- 06/18/10 21:00:07 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v11 v12 18 18 name = "gis", 19 19 name_nice = "Mapping", 20 readable = None,21 writable = None,22 20 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 24 24 resource_readable = Storage( 25 apikey = 1, 25 apikey = 1, # This resource is only visible to Administrators 26 26 ) 27 27 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) 29 29 ) 30 30 )