Page 193 of 211,259, showing 20 records out of 4,225,171 total, starting on record 3,841, ending on 3,860
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 19:56 | markstory | thestaff: why are you doing acl checks in the view? |
# | Aug 7th 2008, 19:56 | markstory | do them all in the controller and pass it to the view. |
# | Aug 7th 2008, 19:56 | thestaff | well, it's in the index |
# | Aug 7th 2008, 19:56 | thestaff | and wanna show action only allowed |
# | Aug 7th 2008, 19:57 | thestaff | yeah I thought so |
# | Aug 7th 2008, 19:57 | markstory | so do permissions checks for all the actions that are linked. |
# | Aug 7th 2008, 19:57 | markstory | what I've done is do a check for everything. and cache it. |
# | Aug 7th 2008, 19:57 | thestaff | it's better to do it in the controller ? |
# | Aug 7th 2008, 19:57 | markstory | thestaff: thats where the acl component is :) |
# | Aug 7th 2008, 19:57 | markstory | not by accident. |
# | Aug 7th 2008, 19:57 | thestaff | k i'll change it then |
# | Aug 7th 2008, 19:58 | markstory | are you using requestAction for it now? |
# | Aug 7th 2008, 20:00 | renan_saddam | what defines if a post form is valid or not in security component? |
# | Aug 7th 2008, 20:01 | renan_saddam | is there one documention about ? |
# | Aug 7th 2008, 20:01 | gwoo | renan_saddam: all forms are in the security component |
# | Aug 7th 2008, 20:01 | gwoo | by default |
# | Aug 7th 2008, 20:01 | gwoo | you can disable it for certain actions |
# | Aug 7th 2008, 20:01 | gwoo | or exclude fields |
# | Aug 7th 2008, 20:01 | gwoo | for it to check |
# | Aug 7th 2008, 20:03 | renan_saddam | nice... I'm trying to understand how it works |