| 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 | | |
| | 138 | If 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. |
| | 139 | The 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 | }}} |