Tip: To ensure an action does not get executed under certain contexts, it
is beneficial to always specify a matching-all deny rule at the end of
rule set, like the following:
return array(
// ... other rules...
// the following rule denies 'delete' action for all contexts
array('deny',
'action'=>array('delete'),
),
);
---
'action'=>array('delete'), should be 'actions'=>array('delete'),
Original issue reported on code.google.com by makarova...@gmail.com on 1 Feb 2010 at 10:39
Original issue reported on code.google.com by
makarova...@gmail.com
on 1 Feb 2010 at 10:39