tingobol / yii-rights

Automatically exported from code.google.com/p/yii-rights
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

checkAccess not working for Admin #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create roles Admin and other
2. give right for an action to other
3. Give role to admin
4. Yii::app()->user->checkAccess('controller\action')

What is the expected output? What do you see instead?
True, isntead it's false

What version of the product are you using? On what operating system?
Ubuntu, 1.3

Please provide any additional information below.

Original issue reported on code.google.com by szigyar...@gmail.com on 3 Jan 2015 at 3:06