Page 251 of 211,261, showing 20 records out of 4,225,208 total, starting on record 5,001, ending on 5,020
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 10:06 | cl0s | how would I auto login someone using auth? |
# | Aug 8th 2008, 10:06 | FunkyWeasel | Still can't narrow down what's causing " Error: Database table cake_app_models for model AppModel was not found." Is there no way to get more debug information? Such as what call is throwing this error? |
# | Aug 8th 2008, 10:06 | cl0s | i have Guest user.. that i would like to automatically login to my site as like the 'Anon' user.. but then a someone can login as themself which has more permissions.. is this possible? |
# | Aug 8th 2008, 10:07 | infantigniter | c10s: what do you need the 'anon' user for? |
# | Aug 8th 2008, 10:07 | cl0s | i want to use a guest user instead of allow('pages......').. so i can control permissions from an admin instead of in the code.. |
# | Aug 8th 2008, 10:08 | cl0s | the anon user is pretty much a user thats not logged in.. |
# | Aug 8th 2008, 10:09 | infantigniter | c10s: i gotcha. hmm... i don't use auth - i use darkauth - but i'm sure it's very similar. all i can suggest is that if Auth does not find that this user is logged in -- and therefore this user is a guest -- |
# | Aug 8th 2008, 10:09 | infantigniter | c10s: then see if there's a way you can just trigger log-in for that person through calling an auth method. otherwise you can write a workaround that simulates the user logging in |
# | Aug 8th 2008, 10:10 | cl0s | ahh wait your right.. cant believe i didnt see it.. |
# | Aug 8th 2008, 10:10 | infantigniter | c10s: k :) |
# | Aug 8th 2008, 10:11 | cl0s | i dont really need to log them in.. actually better that i dont.. but have the guest as an aro anyway and jsut use this->auth->check((check for alias, if null use anon), controller, action); |
# | Aug 8th 2008, 10:11 | cl0s | infantigniter: thanks! |
# | Aug 8th 2008, 10:12 | infantigniter | np |
# | Aug 8th 2008, 10:13 | gwoo | FunkyWeasel: debug(Debugger::trace()); |
# | Aug 8th 2008, 10:13 | FunkyWeasel | gwoo: Nice one, will look into that! |
# | Aug 8th 2008, 10:15 | infantigniter | this is probably a silly question, but there doesn't seem to be an update() function. is this because save() creates a new record if it is not created but updates if it has been? |
# | Aug 8th 2008, 10:15 | infantigniter | has been created* |
# | Aug 8th 2008, 10:16 | infantigniter | ie, if i supplied the ID to a row that already exists |
# | Aug 8th 2008, 10:21 | obiyoda | Does validation only work on data that is being saved to the database? |
# | Aug 8th 2008, 10:22 | obiyoda | What I'm trying to do is validate a form item that doesn't get saved to the database. Is this possible? |