Changes between Version 47 and Version 48 of AjaxList


Ignore:
Timestamp:
2010-09-08T13:56:35Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v47 v48  
    136136
    137137===== Action Restrictions =====
    138 If an action is restricted for an item, if will be greyed out and disabled when the user right-clicks the action menu
    139 
     138If an action is restricted for an item, if will be greyed out and disabled when the user right-clicks the action menu. Now, this doesn't mean that the user can't manipulate the URL to try and execute this function anyways, so it's a very good idea to put some access restrictions in the controller functions themselves.
     139The access restriction array is (again :-) an array or array, and has the following general format
     140{{{
     141   $actionRestrictions = array(
     142      <Column ID> => array (
     143         <map entry> => <true / false>,
     144         <map entry> => <true / false>,
     145         <map entry> => <true / false>,
     146         "!default"  => <true / false>));
     147}}}
    140148==== Extra Filters ====
    141149