# |
Jul 17th 2009, 12:52 |
ProLoser|Work |
i just was thinking that auth is the one thing i setup almost identical on every single environment, except i've been assuming i have to build it into the app due to it's nature, authorization |
# |
Jul 17th 2009, 12:52 |
ProLoser|Work |
meh, it's pretty much your users' mvc and acos/aros management |
# |
Jul 17th 2009, 12:51 |
techno-geek |
how would that work? |
# |
Jul 17th 2009, 12:51 |
ProLoser|Work |
i was just pondering the pros and cons of bundling the setupd of auth/acl in a plugin |
# |
Jul 17th 2009, 12:50 |
ProLoser|Work |
that doesn't install acl, it only administrates |
# |
Jul 17th 2009, 12:50 |
ProLoser|Work |
no no |
# |
Jul 17th 2009, 12:50 |
techno-geek |
http://bakery.cakephp.org/articles/view/acl-management-plugin |
# |
Jul 17th 2009, 12:50 |
ProLoser|Work |
since in conjunction with acl, i figure maintance at that point can be database administrated, and thus, can reside out of hardcode |
# |
Jul 17th 2009, 12:50 |
techno-geek |
I think mariano_iglesias and AD7six both have done this before |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
it's mostly an idea i was thinking for internal development |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
so that you don't have to set it up on every following application |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
it isn't a custom component |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
all it does is setup auth/acl for you |
# |
Jul 17th 2009, 12:49 |
techno-geek |
plugin |
# |
Jul 17th 2009, 12:49 |
techno-geek |
yeah |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
plugin |
# |
Jul 17th 2009, 12:49 |
techno-geek |
aren't there already a bunch of those out there? |
# |
Jul 17th 2009, 12:49 |
ProLoser|Work |
what would you think about a user auth/acl plugin? |
# |
Jul 17th 2009, 12:48 |
ProLoser|Work |
so i figure if anyone can answer, i should ask in there |
# |
Jul 17th 2009, 12:48 |
ProLoser|Work |
and honestly i'm not always sure what convo is taboo in this channel just yet lol |
# |
Jul 17th 2009, 12:48 |
ProLoser|Work |
i wasn't listening cuz i found the code and assumed that mean't it'd work |
# |
Jul 17th 2009, 12:48 |
ProLoser|Work |
null did work |
# |
Jul 17th 2009, 12:47 |
ProLoser|Work |
lol |
# |
Jul 17th 2009, 12:45 |
techno-geek |
D |
# |
Jul 17th 2009, 12:45 |
techno-geek |
I see how it is. #cakephp > techno-geek |
# |
Jul 17th 2009, 12:43 |
techno-geek |
did null work? |
# |
Jul 17th 2009, 12:43 |
ProLoser|Work |
weird, i know i got this code from somewhere else |
# |
Jul 17th 2009, 12:43 |
ProLoser|Work |
i had it set to false, |
# |
Jul 17th 2009, 12:42 |
techno-geek |
and I think there are a couple others |
# |
Jul 17th 2009, 12:42 |
techno-geek |
make sure to set plugin to null |
# |
Jul 17th 2009, 12:42 |
techno-geek |
thats prob it |
# |
Jul 17th 2009, 12:42 |
techno-geek |
yeah |
# |
Jul 17th 2009, 12:42 |
ProLoser|Work |
oh, it's not loginAction? |
# |
Jul 17th 2009, 12:41 |
techno-geek |
or whatever one it is |
# |
Jul 17th 2009, 12:41 |
techno-geek |
you need to manually set $this->Auth->loginRedirect |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
yes |
# |
Jul 17th 2009, 12:41 |
techno-geek |
ProLoser|Work, with auth? |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
so when redirecting for userlogin it's not leaving the plugin |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
i have a general plugin issue, my app_controller in it won't run |
# |
Jul 17th 2009, 12:40 |
ProLoser|Work |
any |
# |
Jul 17th 2009, 12:40 |
techno-geek |
what plugins are you referring to? |