On Jun 20, 11:32 am, gripen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've spent a lot of time studying the ACL+auth, but I don't know how
> to implement a such thing: There will be several posts in section and
> I want to restrict access to those posts only for few chosen users.
> How sholud I set up ACL/auth to work this way?

You can set your own custom autentification method using ACL and Auth
in "controller" mode...

What I am thinking, set a tree of ACOs with Section as Father of
Posts, and then allow some Users to that Section... And use the
function isAuthorized to achieve the "is allowed?".

Latelly, I dont understand many users that complain about "ACL
Component is too hard, so I wont use it". The funny part is that they
end writing some system that is harder to get than Cake ACL
Componente, and absolutely cero re-usable. Come on, guys, it´s not
that hard, I dont consider myself a clever cake coder (actually, I
think I´m one of the dumbest :)) and I get it! It´s just a matter of
keep reading, and trying, and making mistakes, and it can be hard, but
the reward is not worrying about this topic anymore, because Cake
already solve for you!

Cheers,
mbavio
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to