Re: Please. I need help with ACL. I no understand one thing about restriction in ACL. Can somebody help me?
Then there must be something you were not doing right. Basically, first, you deny access to all controllers from anybody/any group. Then usually, you make/give permission to the admin so they have access to all controllers. It then follows by the other groups which you assign them permissions. This is the draft, correct sequence. Did any of the steps above sound familiar to you, did you follow that part? On Mar 22, 9:02 pm, mineiro-df wrote: > I'm new cake student and i have problem with ACL on this moment. > > I managed to make the simple system of limited access of the book of > the cake put that I realized an interesting thing. The user who has > less is accessed by me to the system in fact it manages to do > everything if I to work with the urls. I did all step by step from the > tutorial and apparently everything works that it ties the moment that > the most weak user manages to do everything when I call the actions > through the url. I need that he has access only the actions released > to him. > > Can anybody help me? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Please. I need help with ACL. I no understand one thing about restriction in ACL. Can somebody help me?
I'm new cake student and i have problem with ACL on this moment. I managed to make the simple system of limited access of the book of the cake put that I realized an interesting thing. The user who has less is accessed by me to the system in fact it manages to do everything if I to work with the urls. I did all step by step from the tutorial and apparently everything works that it ties the moment that the most weak user manages to do everything when I call the actions through the url. I need that he has access only the actions released to him. Can anybody help me? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Need help with ACL
I am implementing ACL for an existing site. There is a view file , the name of the view file is edit.ctp it is under the folder acl_aros. This view file contains a single text box, and this value is used for the 'alias' column in 'aros' table. The name of the controller that has the 'save' function is acl_aros_controller.php The name of the model file in which I have written the validation for the field is 'acl_aro.php'. The validation says the text field cannot be empty and has to be min. of 4 char. But the problem here is data's are getting inserted, but it never uses the validation in the model file. In simple words, it doesn't uses that model file at all. If I submit a form with empty text box, an empty record is getting inserted. What am I missing here? How should I tell the system to use this model file so that validation check is done. Please help me with this. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---