Changes between Version 16 and Version 17 of BluePrintIncidentReporting


Ignore:
Timestamp:
08/30/10 20:43:56 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintIncidentReporting

    v16 v17  
    158158A 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.
    159159 * Q: Should .represent also be modified for Display of records?
    160 
    161160== Proposal (nursix) ==
    162161
     
    183182f) In the controller, if "normal" user, override this requires by:
    184183{{{
    185 allowed_options = [opt.code for opt in db().select(db.irs_incident_type_opts.code)]
     184allowed_opts = [opt.code for opt in db().select(db.irs_incident_type_opts.code)]
    186185.requires = IS_IN_SET(allowed_opts)
    187186}}}