Changes between Version 8 and Version 9 of BluePrintAuthorization
- Timestamp:
- 06/18/10 17:47:04 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v8 v9 7 7 * Change {{{deployment_settings.modules}}} from a list of strings to a list of dicts 8 8 {{{ 9 # Need to define Roles in dict for visibility by modules before inserted into DB 10 deployment_settings.auth.roles = { 11 1 : "Administrator", 12 2 : "Authenticated", 13 .... 14 6 : "AdvancedJS", 15 } 16 9 17 deployment_settings_modules = Storage( 10 18 name = "gis", … … 15 23 module_type = 2, 16 24 resource_readable = Storage( 17 layer_js = None,25 apikey = 1, 18 26 ) 19 27 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"], 21 29 ) 22 30 )