I was having the same problem. Setting Security.level to medium
resolves the issue for me. When I set the level to high I am logged
out of my app on every page refresh. So the symptom is that I log in
successfully and view the default page. If I click refresh I am logged
out and redirected back
Some one else just asked the same question about doing acl without
having to add users to the aros table. I am not sure what the
resistance there is. I Just think of it as another association where
every user has one access request object.
Here is how I use the auth component in 1.2.
In
urlencode() should do the trick: http://us.php.net/urlencode
~Billy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
vim (console) with PHP syntax highlighting. I also use the php.vim
script written by Tobias Schlitt for auto completion, auto docblock
insertion, etc. .ctp files are set to php file type.
Billy
--~--~-~--~~~---~--~~
You received this message because you are
Thanks for the update John. I look forward to seeing the 1.2 manual
when it is released.
I am pretty new to CakePHP and am developing my app on the 1.2.x.x
code base. To date there has not been a single problem that I could
not overcome by browsing this group, the api, or the Bakery. I
encourage
If you use the Auth component the default is to deny all actions. You
can allow access to actions on the fly with $this-Auth-
allow('someAction') in a beforeFilter.
So, maybe wrapping the allow method in your own conditional to test
for group membership or ownership etc. is what you are looking
imho creating a single events_data table that uses an event_id foreign
key to join back the the events table is the way to go. The
events_data table could have a text field that stores serialized
arrays. See http://us2.php.net/serialize for details.
I thought a behavior to insert UUID's would be better suited for this
over the MySQL triggers I was using so I through one together. Here a
link for anyone thats interested:
http://bin.cakephp.org/view/109738435
I am working on posting the behavior to the bakery as well.
Cheers,
Billy
Check this thread out if you haven't already:
http://groups.google.com/group/cake-php/browse_thread/thread/479cd6f421ed29f7
The steps in the first post by cook worked for me when I tested it. I
was also able to add aro's and aco's using 'cake/console/cake acl
create ...'. The only caveat was
` BEFORE INSERT ON `posts` FOR EACH ROW SET
NEW.id = UUID();
Cheers,
Divagater
On May 30, 11:18 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Please if you have any working code snippet showing me how to
integrate Daniel Hofstetter (http://cakebaker.42dh.com) Uuid
component into my model, so
10 matches
Mail list logo