# |
Aug 6th 2008, 18:06 |
francky06l |
gwoo: I though about this, but consider that having to replace Auth by AuthExt was not too much a problem wiht a good editor |
# |
Aug 6th 2008, 18:05 |
gwoo |
but would have a separate object for Auth to plug into |
# |
Aug 6th 2008, 18:04 |
gwoo |
francky06l: in that case you would not extend Auth component |
# |
Aug 6th 2008, 18:04 |
gwoo |
you could set the $this->Auth->authenticate = $this->AuthExt; and $this->Auth->authorize = $this->AuthExt; |
# |
Aug 6th 2008, 18:03 |
gwoo |
that was one of my suggestions |
# |
Aug 6th 2008, 18:03 |
gwoo |
francky06l: you set the authenticate |
# |
Aug 6th 2008, 18:03 |
francky06l |
gwoo: what I mean, is to be able to to call Auth: login ..wihtout tweaking the beforeFilter.. |
# |
Aug 6th 2008, 18:03 |
nymacro |
oh well. That is what I get for being stubborn |
# |
Aug 6th 2008, 18:00 |
francky06l |
gwoo: if I can ask, one thing missing is a way to avoid the sutomic login ... |
# |
Aug 6th 2008, 18:00 |
nymacro |
francky06l: turns out it was the DBO |
# |
Aug 6th 2008, 18:00 |
francky06l |
Why so many many get stuck in ACL ? once you got it ...gets obvious ... |
# |
Aug 6th 2008, 17:59 |
gwoo |
yup |
# |
Aug 6th 2008, 17:59 |
francky06l |
gwoo: could be groups .... and so on ... |
# |
Aug 6th 2008, 17:59 |
shabba |
okay p |
# |
Aug 6th 2008, 17:58 |
renan_saddam |
shabba: yes, that is |
# |
Aug 6th 2008, 17:58 |
shabba |
yes? |
# |
Aug 6th 2008, 17:58 |
renan_saddam |
shabba: |
# |
Aug 6th 2008, 17:58 |
francky06l |
gwoo: get pretty heavy in case of lot's of controllers/actions ... but I have variants :0 |
# |
Aug 6th 2008, 17:58 |
nymacro |
francky06l: the problem was: it should work, but it didn't. Cake wouldn't connect using local socket, but CocoaMySQL would (using localsocket) |
# |
Aug 6th 2008, 17:58 |
shabba |
so there both the same |
# |
Aug 6th 2008, 17:58 |
gwoo |
francky06l: good use of roles etc |
# |
Aug 6th 2008, 17:58 |
renan_saddam |
shabba: /vendors or /app/vendors |
# |
Aug 6th 2008, 17:57 |
francky06l |
nymacro: well mac/Os are not my cup of tee |
# |
Aug 6th 2008, 17:57 |
gwoo |
francky06l: the acl setup is nice |
# |
Aug 6th 2008, 17:57 |
shabba |
do vendors go in app/vendors or cake_path/vendors ? |
# |
Aug 6th 2008, 17:57 |
nymacro |
took me ages to set up.. because i got distracted |
# |
Aug 6th 2008, 17:57 |
shabba |
hey guys |
# |
Aug 6th 2008, 17:57 |
nymacro |
Mac OS X/Darwin |
# |
Aug 6th 2008, 17:57 |
francky06l |
nymacro: under windows ? |
# |
Aug 6th 2008, 17:56 |
nymacro |
mysql_connect would connect to 127.0.0.1, but wouldn't connect to localhost using a local socket |
# |
Aug 6th 2008, 17:55 |
nymacro |
lol, that is weird |
# |
Aug 6th 2008, 17:54 |
loki_racer |
cool.....thanks guys |
# |
Aug 6th 2008, 17:54 |
renan_saddam |
loki_racer: anywhere |
# |
Aug 6th 2008, 17:54 |
francky06l |
loki_racer: check the cookbook and google groups, quite straight froward |
# |
Aug 6th 2008, 17:53 |
loki_racer |
is that used in the controller or view |
# |
Aug 6th 2008, 17:53 |
loki_racer |
never used it.....guess I will look into it |
# |
Aug 6th 2008, 17:53 |
francky06l |
loki_racer: you can builld up your array using set::extract |
# |
Aug 6th 2008, 17:52 |
francky06l |
gwoo: for the other things, .. feel free to amend, suggest ... (I wanted to avoid N user Aro |
# |
Aug 6th 2008, 17:52 |
loki_racer |
francky061: Polls and it has many PollAnswer and I find the Poll with recursive getting all its PollAnswer, do I have to loop that and rebuild that array to have what you are saying |
# |
Aug 6th 2008, 17:51 |
francky06l |
loki_racer: as an array .. (value => 'label1', ,value2 =>' label2') |
# |
Aug 6th 2008, 17:49 |
francky06l |
gwoo: do not know, I could have done the inherintance, but was scared to loose people in there ..Anyway, I use it in prod ...(with also inheritance) ... and wanted to share it .. |