I think you are mixing up two thinks.
"Don't let users access adm area' = ACL - accessing resources
"nor other users area" = Not classic ACL it's more permissions issue -
accessing data.

for example:
The annual report is a resource that can be watched by managers but not by
regular employee.
You restrict this by ACL.
But, if you want the manager to see the  annual report with his employees
data only you need to filter the data from the annual report table, at the
model of course.

In your case everyone can see posts but while looping the messages for
redndering you should add "Edit" buttons next to posts that has the author
as the logged user or admin.
Needless to say, you should check it again in the model and in the database
if possible




On Mon, Feb 8, 2010 at 11:41 PM, Guillermo Mansilla <[email protected]>wrote:

>
> http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1
> On 8 February 2010 17:08, Guillermo Mansilla <[email protected]> wrote:
>
>> http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1
>>
>>
>> On 8 February 2010 16:19, Fernando Z. Bob <[email protected]> wrote:
>>
>>> I am already having the same problem [?]
>>>
>>> Lot of tutorials, lot of knowledge but nothing that really explain
>>> everything about that.
>>>
>>> Check out the new CakePHP Questions site http://cakeqs.org and help
>>> others with their CakePHP related questions.
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "CakePHP" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<cake-php%[email protected]>For
>>>  more options, visit this group at
>>> http://groups.google.com/group/cake-php?hl=en
>>>
>>
>>
>  Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>



-- 
Regards,
Zaky Katalan-Ezra
QA Administrator
www.IGeneriX.com
Sites.IGeneriX.com
054-7762312

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<<361.gif>>

Reply via email to