# |
Aug 6th 2008, 18:41 |
thestaff |
so this is in the 1.2 |
# |
Aug 6th 2008, 18:41 |
renan_saddam |
and ctp is new convetion over thtml |
# |
Aug 6th 2008, 18:41 |
renan_saddam |
custom ext, .ctp and .thtml |
# |
Aug 6th 2008, 18:40 |
thestaff |
? |
# |
Aug 6th 2008, 18:40 |
thestaff |
which one is first > |
# |
Aug 6th 2008, 18:39 |
renan_saddam |
priority |
# |
Aug 6th 2008, 18:39 |
thestaff |
what is the difference between default.thtml and default.ctp ? |
# |
Aug 6th 2008, 18:39 |
thestaff |
hi all |
# |
Aug 6th 2008, 18:33 |
nymacro |
*CRUD |
# |
Aug 6th 2008, 18:33 |
nymacro |
using $actsAs = array('Acl'=>'controlled') should automagically set up CRUX for the model right? |
# |
Aug 6th 2008, 18:32 |
nymacro |
hmm |
# |
Aug 6th 2008, 18:25 |
francky06l |
gwoo: you can post a comment :-) |
# |
Aug 6th 2008, 18:24 |
francky06l |
Bye bakers:-) |
# |
Aug 6th 2008, 18:13 |
TommyO |
yo prince_jammys |
# |
Aug 6th 2008, 18:12 |
francky06l |
gwoo: yes, and not only for this ... I use it for model.record ACL, but what is scaring users is the number of Aro/Acos you could possibly write .. Also, the indexation of the ACL tables should be in the core ... |
# |
Aug 6th 2008, 18:10 |
gwoo |
i think it does a nice job of that |
# |
Aug 6th 2008, 18:10 |
gwoo |
yup |
# |
Aug 6th 2008, 18:09 |
francky06l |
gwoo: anyway, the goal was to show than Auth can be used also for group.roles not inheriting parents .. and keep it quite "minimal" .. I have seen many "strange" solutions |
# |
Aug 6th 2008, 18:08 |
gwoo |
also true |
# |
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 |