# |
Aug 9th 2008, 18:22 |
markstory |
cool, I think I ran into issues where it randomly deleted the session or got stuck on steps. but I figured them out. |
# |
Aug 9th 2008, 18:18 |
jaredhoyt |
but i think it runs smooth now |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
well after i used it myself, i realized there were a few big bugs |
# |
Aug 9th 2008, 18:17 |
markstory |
jaredhoyt: I didn't find it that bad, there were a few tricky bits but I figured them out. |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
nice :D |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
hopefully this new version will be easier to implement |
# |
Aug 9th 2008, 18:17 |
markstory |
jaredhoyt: I built a survey application, that is used nationally by arts organizations in canada. |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
lots of complaints on google groups and bakery comments... i never kept up |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
sweet :) ... i feel like a jerk though, i never realized how much trouble people had with it |
# |
Aug 9th 2008, 18:16 |
markstory |
big for my work. |
# |
Aug 9th 2008, 18:16 |
jezek |
never used the wizard component :O |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
i read on google group though there was another version floating around, but mine is the one on the bakery |
# |
Aug 9th 2008, 18:16 |
markstory |
I owe you a big hi five then, I've used it in two big projects. |
# |
Aug 9th 2008, 18:16 |
jezek |
no homo |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
yeah |
# |
Aug 9th 2008, 18:16 |
Maniaman |
ACTION loves cake |
# |
Aug 9th 2008, 18:15 |
markstory |
were you the original author? |
# |
Aug 9th 2008, 18:15 |
jezek |
ACTION loves everyone |
# |
Aug 9th 2008, 18:15 |
jaredhoyt |
=P |
# |
Aug 9th 2008, 18:15 |
markstory |
ACTION also loves wizard component. |
# |
Aug 9th 2008, 18:15 |
jaredhoyt |
ACTION loves wizard |
# |
Aug 9th 2008, 18:15 |
jaredhoyt |
lol |
# |
Aug 9th 2008, 18:15 |
markstory |
ACTION loves acl |
# |
Aug 9th 2008, 18:14 |
jaredhoyt |
jezek: nah, to just protect admin routing stuff you can just use controller authorization |
# |
Aug 9th 2008, 18:14 |
jaredhoyt |
TommyO: i like your above solution better than the one i've been telling people... didn't think about the admin param... i've been saying if(in_array($this->action, array('admin_edit', etc...)) andand ...) { } |
# |
Aug 9th 2008, 18:13 |
jezek |
so not if i just have user and admin? |
# |
Aug 9th 2008, 18:13 |
jaredhoyt |
i haven't had a need for acl yet... you'd need if you had multiple roles like author, contributor, admin, superuser etc |
# |
Aug 9th 2008, 18:12 |
jaredhoyt |
but simple access control can be handle by the authcomponent as in the above example |
# |
Aug 9th 2008, 18:12 |
jaredhoyt |
jezek: sort of... auth identifies a person, acl specifies their access |
# |
Aug 9th 2008, 18:11 |
jezek |
don't those go hand in hand |
# |
Aug 9th 2008, 18:11 |
TommyO |
ACTION loves Auth |
# |
Aug 9th 2008, 18:11 |
jaredhoyt |
actually i haven't used acl in a while so i wouldn't know :) |
# |
Aug 9th 2008, 18:10 |
jaredhoyt |
Acl on the other hand... |
# |
Aug 9th 2008, 18:10 |
jezek |
ok |
# |
Aug 9th 2008, 18:10 |
jaredhoyt |
jezek: AuthComponent is very simple :D |
# |
Aug 9th 2008, 18:10 |
jaredhoyt |
and add Auth->authorize = 'controller' to your beforeFilter() |
# |
Aug 9th 2008, 18:10 |
jezek |
i don't really knoe how to use it, but i guess i'll learn |
# |
Aug 9th 2008, 18:10 |
jezek |
ok |
# |
Aug 9th 2008, 18:09 |
jezek |
well not user yet |
# |
Aug 9th 2008, 18:09 |
jaredhoyt |
jezek: if it's just admin and users, the above is the best solution ^^ |
# |
Aug 9th 2008, 18:09 |
jezek |
admin and user |