Changes between Version 50 and Version 51 of AjaxList


Ignore:
Timestamp:
2010-09-08T14:02:22Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v50 v51  
    156156}}}
    157157Every column ID corresponds to a map-type column. When the column's entry (raw, not yet translated), marched the map entry's in the above structure, then the boolean true or false varible will deterime wherether the user is allowed to perform an action. The "!default" map entry takes effect when the column's cell contents don't match any of the other entries. For example, the following real example is taken from the user's controller, designed to allow instructors to only edit students, and not other user types
     158{{{
    158159   $actionRestrictions = array(
    159160      "User.role" => array (
    160161         "S" => true,              // Allow modification of students
    161162         "!default" => false));    // Dis-allow modification for all other user types
    162 
     163}}}
    163164==== Extra Filters ====
    164165