So I thought I got the acl up and running smoothly and it does work to some degree but now that Im testing with various users of different categories I noticed my permissions aren't working as suspected.
I did have a problem with one of the steps in the acl tutorial (pg. 10.3.7: permissions) which I just kind of bypassed but I believe this might be why its not working properly. ** 1 ** So the first step here is to go to shell and type "cake acl grant $aroAlias $acoAlias [create|read|update|delete|'*']" but the console keeps throwing back an error saying that "read is not an internal or external function". If I delete read it gives me the same error for the next unit like "update is not an internal or external function". The directions say instead of using console you can use Acl component by adding "$this->Acl->allow($aroAlias, $acoAlias);" but Im not sure where to put it and im not sure if its something you would leave in the code permanently or is it just so you can run it that one time. ** 2 ** In the 2nd step your supposed to run the function initDB() which has allow/deny statements. After running you are supposed to see a bunch of "1's" and "0's" in the aros_acos table. After running this function and checking the table, the table has a bunch of "1's" and "-1's". Is this normal or is my table totally jacked? Your help is much appreciated! Thanks! justclint --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
