Re: ACL Questions

2009-01-06 Thread eMarcus
Hi Fred, To get the id of a specific group you should use $data = $group-find ('first', array ('conditions' = array ('name' = 'admins'))); $id = $data['Group']['id']; bye me. On Jan 6, 11:34 pm, Fred fb...@multiply.it wrote: I am new to Cake and have read the Cookbook, tutorials, searched

exclude directory from routing

2009-01-05 Thread eMarcus
Hi, On my cakephp testenvironment, I would like to exclude a specific directory from any cakephp rerouting. That directory holds an independent website. However, when I try to access a page in that directory, cakephp tries to load a controller that is called like the directory - which obviously

Re: exclude directory from routing

2009-01-05 Thread eMarcus
-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag von eMarcus Gesendet: Montag, 5. Januar 2009 12:00 An: CakePHP Betreff: exclude directory from routing Hi, On my cakephp testenvironment, I would like to exclude a specific directory from any cakephp rerouting

Re: Where to SET SQL_BIG_SELECTS=1 in cakephp

2009-01-04 Thread eMarcus
Hi Raphaele, Thanks! that did the trick! Maybe this would be something for the developers, that it would nice to have a possibility to set SQL parameters centrally... bye Marcus. On Dec 26 2008, 8:58 am, raphaele.gior...@gmail.com raphaele.gior...@gmail.com wrote: I should have add that in

Re: Where to SET SQL_BIG_SELECTS=1 in cakephp

2009-01-04 Thread eMarcus
Hi Raphaele, Thanks! that did the trick! Maybe this would be something for the developers, that it would nice to have a possibility to set SQL parameters centrally... bye Marcus. On Dec 26 2008, 8:58 am, raphaele.gior...@gmail.com raphaele.gior...@gmail.com wrote: I should have add that in

Where to SET SQL_BIG_SELECTS=1 in cakephp

2008-12-23 Thread eMarcus
Hi, As my database hoster seems to have set the limit for no of joins relativly low, I need to set the SQL system variable SQL_BIG_SELECTS to on. Otherwise, CakePHP does not work here (especially authentication/ACL check does not work). Where is the best place to set SQL systems variables in

Re: How to make forms in cakephp

2008-12-23 Thread eMarcus
Hi Mona, Well, it would help if you could specify the error a bit more. The form need to be called 'app/views/users/add.ctp'. I don't know if you can make echo $form-inputs(array('name', 'email', 'password')); I would rather do: echo $form-input('User.name'); echo

Re: setlocale

2008-12-23 Thread eMarcus
Hi, The other problem with the setlocale is, that you must set it in bootstrap. I would prefer a possibility to set it somewhere at runtime - when a user switches languages for instance... bye me. On Dec 23, 4:40 pm, GetIT david.bruen...@t-online.de wrote: Hi, I´ve seen many people with the

Re: General ACL Question

2008-11-21 Thread eMarcus
On Nov 20, 6:18 am, mark_story [EMAIL PROTECTED] wrote: On Nov 20, 4:23 am, eMarcus [EMAIL PROTECTED] wrote: Hi Mark, Thanks for your answer! When you follow the conversation right from the beginning, you will see, that I definitly KNOW that controller/actions/id access does

Re: General ACL Question

2008-11-20 Thread eMarcus
or so after their app runs into scaling issues because the ACL is ridiculously complicated and impossible to deal with. -Mark On Nov 19, 9:55 am, eMarcus [EMAIL PROTECTED] wrote: Hi, I want to use the ACL component to control access of users to model data. I built up AROs, ACOs

General ACL Question

2008-11-19 Thread eMarcus
Hi, I want to use the ACL component to control access of users to model data. I built up AROs, ACOs and permissions so far. 1.) does the ACL component automatically check if a user has an UPDATE right on save operations? 2.) if not, where would be the best place to perform that check? (in a

Re: General ACL Question

2008-11-19 Thread eMarcus
] Im Auftrag von eMarcus Gesendet: Mittwoch, 19. November 2008 15:55 An: CakePHP Betreff: General ACL Question Hi, I want to use the ACL component to control access of users to model data. I built up AROs, ACOs and permissions so far. 1.) does the ACL component automatically check

ACL access to model question

2008-11-08 Thread eMarcus
Hi, Alltough I read the cookbook forth and back, I am still not sure what goes wrong with my ACL: I took the ACL example of the cookbook (Version 1.2) and extended it in the following way: I added a /models node to my ACO database I set var $actsAs = array ('Acl' = array ('type' =