# |
Aug 6th 2008, 17:19 |
francky06l |
Swiatecki: bye |
# |
Aug 6th 2008, 17:19 |
Swiatecki |
anyways, night night, its getting late in GMT +1 |
# |
Aug 6th 2008, 17:18 |
francky06l |
Mathachew: I guess Auth could do all this ... but if we can see the code of your implementation ...? |
# |
Aug 6th 2008, 17:17 |
TommyO |
Mathachew: ok. is your custom ACL a component, class, model method? |
# |
Aug 6th 2008, 17:17 |
francky06l |
Swiatecki: for now, i have a company and I do some consulting in IT .... |
# |
Aug 6th 2008, 17:17 |
MrRio |
Ahh right, francky06l said you were :P |
# |
Aug 6th 2008, 17:17 |
TommyO |
MrRio: I'm not. :) |
# |
Aug 6th 2008, 17:17 |
Swiatecki |
as? |
# |
Aug 6th 2008, 17:17 |
francky06l |
Swiatecki: well I work :-) |
# |
Aug 6th 2008, 17:16 |
francky06l |
Tom_M_: and what are the results ? nothing wrong for me in the code (read quickly thouth) |
# |
Aug 6th 2008, 17:16 |
Swiatecki |
francky06l: what do you do for a living? |
# |
Aug 6th 2008, 17:16 |
MrRio |
TommyO: Hey, how did you become a CakePHP Certified Engineer? |
# |
Aug 6th 2008, 17:16 |
francky06l |
-) |
# |
Aug 6th 2008, 17:16 |
francky06l |
Swiatecki: it could be worse |
# |
Aug 6th 2008, 17:16 |
Swiatecki |
oh man! sweet?! |
# |
Aug 6th 2008, 17:15 |
francky06l |
Swiatecki: Monaco when I am at work, South France now (home) |
# |
Aug 6th 2008, 17:14 |
Swiatecki |
francky06l: where you located? |
# |
Aug 6th 2008, 17:14 |
Tom_M_ |
http://bin.cakephp.org/view/728516538 |
# |
Aug 6th 2008, 17:14 |
francky06l |
Swiatecki: gtm - 1 for me |
# |
Aug 6th 2008, 17:14 |
Mathachew |
right |
# |
Aug 6th 2008, 17:14 |
francky06l |
Tom_M_: can we see the query ? |
# |
Aug 6th 2008, 17:14 |
Tom_M_ |
i mean i guess its running like a find all when i want read |
# |
Aug 6th 2008, 17:14 |
TommyO |
authorize is an Auth member |
# |
Aug 6th 2008, 17:14 |
TommyO |
authorize() is not an Auth method |
# |
Aug 6th 2008, 17:13 |
Tom_M_ |
it's always array[0] [model] ... |
# |
Aug 6th 2008, 17:13 |
Swiatecki |
you! on the chan |
# |
Aug 6th 2008, 17:13 |
Tom_M_ |
anyone know when using the containable behavior i'm getting an extra (unneeded?) key in my array ... |
# |
Aug 6th 2008, 17:13 |
TommyO |
Mathachew: hmm... hold on that actually... |
# |
Aug 6th 2008, 17:13 |
Mathachew |
TommyO: Ok, I want to stop it at the hand off to authorization. So I guess I just do authorize('*') |
# |
Aug 6th 2008, 17:13 |
francky06l |
Swiatecki: localtime for whom ? |
# |
Aug 6th 2008, 17:13 |
Swiatecki |
localtime where you are? |
# |
Aug 6th 2008, 17:12 |
TommyO |
Mathachew: $this->allow('*'); will allow all users to pass through to isAuthorized, where your ACL then handles all logic |
# |
Aug 6th 2008, 17:12 |
nymacro |
yeah, I might give that a try |
# |
Aug 6th 2008, 17:12 |
francky06l |
nymacro: have you got mysql ? to find out, try with it...if it's works then means the driver for your db...has to be improved |
# |
Aug 6th 2008, 17:12 |
TommyO |
Mathachew: ok. this is the logic. Auth will see if Authenticated. if it is it hands off to Authorization, if not it checks to see what the basic logic is for Authorization by checking the allow/deny rules |
# |
Aug 6th 2008, 17:11 |
nymacro |
been using http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x for reference to get it up and running |
# |
Aug 6th 2008, 17:11 |
francky06l |
MrRio: ask TommyO ..he is :-) |
# |
Aug 6th 2008, 17:10 |
nymacro |
francky06l: the table is there, and my ACL is pretty simple at the moment |
# |
Aug 6th 2008, 17:10 |
Mathachew |
francky06l: how? One is for authorization, the other is for authentication |
# |
Aug 6th 2008, 17:10 |
francky06l |
Mathachew: well you are using then Auth + ACL |
# |
Aug 6th 2008, 17:10 |
MrRio |
Hey, I'd like to become a CakePHP certified engineer. Anyone I can talk to about this? |