Re: Acl question: Can I change the name of aros and acos tables?
On Thu, Jun 25, 2009 at 5:13 AM, Walther wrote: > > You could make more then one database config item and use them on the > required tables? Good point. I tend to think of the DB configs as being for a specific database. Of course, there's nothing stopping you from using the same DB but with separate prefixes. Except that it's just occurred to me that there's still an issue with associations--if there are associated tables with different prefixes then joins would be a problem. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Acl question: Can I change the name of aros and acos tables?
On Jun 25, 2:39 am, brian wrote: > On Wed, Jun 24, 2009 at 3:09 PM, zonium wrote: > > > I do use prefix param for some other projects where ACL is NOT > > utilized. > > However, my particular concern is about ACL component, I am not sure > > if ACL component respects $prefix param. (i.e. the sql statements to > > create aros and acos table do not take prefix into account). > > Aslo, when we specify $prefix, it will be used for all tables, we > > cannot different prefixs for different tables. > > > Any insight is appreciated. When you tried applying a prefix to your default db config - in what way did it not work. AD --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Acl question: Can I change the name of aros and acos tables?
You could make more then one database config item and use them on the required tables? On Jun 25, 2:39 am, brian wrote: > On Wed, Jun 24, 2009 at 3:09 PM, zonium wrote: > > > I do use prefix param for some other projects where ACL is NOT > > utilized. > > However, my particular concern is about ACL component, I am not sure > > if ACL component respects $prefix param. (i.e. the sql statements to > > create aros and acos table do not take prefix into account). > > Aslo, when we specify $prefix, it will be used for all tables, we > > cannot different prefixs for different tables. > > > Any insight is appreciated. > > Zonium > > You need to use more than one prefix? That might be a problem. Maybe > you can change the prefix on the fly (never tried that). --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Acl question: Can I change the name of aros and acos tables?
On Wed, Jun 24, 2009 at 3:09 PM, zonium wrote: > > I do use prefix param for some other projects where ACL is NOT > utilized. > However, my particular concern is about ACL component, I am not sure > if ACL component respects $prefix param. (i.e. the sql statements to > create aros and acos table do not take prefix into account). > Aslo, when we specify $prefix, it will be used for all tables, we > cannot different prefixs for different tables. > > Any insight is appreciated. > Zonium You need to use more than one prefix? That might be a problem. Maybe you can change the prefix on the fly (never tried that). --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Acl question: Can I change the name of aros and acos tables?
I do use prefix param for some other projects where ACL is NOT utilized. However, my particular concern is about ACL component, I am not sure if ACL component respects $prefix param. (i.e. the sql statements to create aros and acos table do not take prefix into account). Aslo, when we specify $prefix, it will be used for all tables, we cannot different prefixs for different tables. Any insight is appreciated. Zonium On Jun 24, 8:56 am, brian wrote: > On Tue, Jun 23, 2009 at 11:25 PM, zonium wrote: > > > We are forced to follow some naming conventions for our tables (some > > prefix needs to be added to the table names). I am going to use ACL > > component, but I wonder if I can use different names for aros, acos > > and acos_aros tables (e.g adding a prefix)? > > I've never used it myself, but there's a 'prefix' param in > database.php. I believe that's all you need to set. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Acl question: Can I change the name of aros and acos tables?
On Tue, Jun 23, 2009 at 11:25 PM, zonium wrote: > > > We are forced to follow some naming conventions for our tables (some > prefix needs to be added to the table names). I am going to use ACL > component, but I wonder if I can use different names for aros, acos > and acos_aros tables (e.g adding a prefix)? I've never used it myself, but there's a 'prefix' param in database.php. I believe that's all you need to set. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Acl question: Can I change the name of aros and acos tables?
We are forced to follow some naming conventions for our tables (some prefix needs to be added to the table names). I am going to use ACL component, but I wonder if I can use different names for aros, acos and acos_aros tables (e.g adding a prefix)? Thanks, Zonium --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---