hamednourhani / yii-rights

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

Tasks should have all childrens automatically field in #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate permission with rights
2. you end up having a task like Admin.AdminMessages.*
4. give permission to the user for the Admin.AdminMessages.* task
3. then if you do a >checkAccess('Admin.AdminMessages.Index'))
that fails because the Admin.AdminMessages.* doesn't have as their children the 
Index action

What is the expected output? What do you see instead?
I expect checkAccess('Admin.AdminMessages.Index') to return true when I gave 
permission to Admin.AdminMessages.* task

What version of the product are you using? On what operating system?
yii rights 1.3.0

Please provide any additional information below.

Original issue reported on code.google.com by pentium10 on 22 Sep 2011 at 8:56