yangruiyou85 / yiidoc

Automatically exported from code.google.com/p/yiidoc
0 stars 0 forks source link

topics.auth code bug #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by alexander.makarow on 1 Feb 2010 at 10:39

GoogleCodeExporter commented 9 years ago

Original comment by qiang.xue on 17 Feb 2010 at 9:47