File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
en/tutorials-and-examples/simple-acl-controlled-application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -335,14 +335,14 @@ implement ``bindNode()`` in ``User`` model::
335335 return array('model' => 'Group', 'foreign_key' => $user['User']['group_id']);
336336 }
337337
338- and modify the ``actsAs `` for the model ``User `` and disable the requester directive::
338+ Then modify the ``actsAs `` for the model ``User `` and disable the requester directive::
339339
340340 public $actsAs = array('Acl' => array('type' => 'requester', 'enabled' => false));
341341
342342These two changes will tell ACL to skip checking ``User `` Aro's and to check only ``Group ``
343343Aro's. This also avoids the afterSave being called.
344344
345- Note: Every user has to have assigned ``group_id `` for this to work.
345+ Note: Every user must have an assigned ``group_id `` for this to work.
346346
347347Now the ``aros `` table will look like this::
348348
You can’t perform that action at this time.
0 commit comments