It all went just fine untill now .
System's rights are based on built-in CAKE-PHP ACL Behaviour.
Today i got a call from the customer that users keep reporting "not
having enough rights".
Acos table is massive (15k records) and grows, so analyzes aren't
easy.
Atm we introduced some kind of workaround and it works - partially
skipping acl part.
After some time i discovered that some record in DB have same lft and
rght values, so obviously tree structure is broken.
Does it mean that Tree or ACL behavior doesn't work correctly?
If we wont fix it, we will be forced to bypass usage of ACL in this
App (we loose time we spend on implementing ACL already)
Can Acl system be used to repair a damaged tree (based on the
parent_id fields)?
If so, please post the algorithm we could use.
CAKE v.1.2.0.7125 RC1
MySQL client version: 5.0.27
PHP: 5
Rob
PS. Sorry for my english.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment