Changes between Version 16 and Version 17 of BluePrintIncidentReporting
- Timestamp:
- 08/30/10 20:43:56 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintIncidentReporting
v16 v17 158 158 A subclass of IS_IN_SET() is created to handle this data structure, providing access to full list to a role (default to 'Editor'), but the sub-set to normal users' dropdowns. 159 159 * Q: Should .represent also be modified for Display of records? 160 161 160 == Proposal (nursix) == 162 161 … … 183 182 f) In the controller, if "normal" user, override this requires by: 184 183 {{{ 185 allowed_opt ions = [opt.code for opt in db().select(db.irs_incident_type_opts.code)]184 allowed_opts = [opt.code for opt in db().select(db.irs_incident_type_opts.code)] 186 185 .requires = IS_IN_SET(allowed_opts) 187 186 }}}