Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aco_sync bug when plugin contains controller with same name #1

Closed
biesbjerg opened this issue Mar 25, 2010 · 1 comment
Closed

aco_sync bug when plugin contains controller with same name #1

biesbjerg opened this issue Mar 25, 2010 · 1 comment
Labels

Comments

@biesbjerg
Copy link

If you have a plugin named 'Users' and a plugin controller named 'Users', and you do an acl_extras aco_sync, first all the Users.Users methods will be added to the acos table but will be removed again right after.

Created Aco node: controllers/Users/Users/admin_index
Created Aco node: controllers/Users/Users/admin_add
Created Aco node: controllers/Users/Users/admin_edit
Created Aco node: controllers/Users/Users/admin_login
Created Aco node: controllers/Users/Users/admin_logout
Created Aco node: controllers/Users/Users/admin_delete
Deleted controllers/Users/admin_index and all children
Deleted controllers/admin_add and all children
Deleted controllers/admin_edit and all children
Deleted controllers/admin_login and all children
Deleted controllers/admin_logout and all children
Deleted controllers/admin_delete and all children

The printed "deleted path" also seems to be incorrect.

@markstory
Copy link
Owner

Seems this was an issue with the CakePHP core AclNode class. Its been fixed, and this issue is working for me now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants