Maybe you could have a look at this topic:
http://www.cakephpforum.net/index.php?showtopic=27

---
kiang

On 12月23日, 下午7時51分, WarGoth <[EMAIL PROTECTED]> wrote:
> Sorry for my english. I'll try to be short.
> I'm talking about CakePHP 1.2, native Auth and ACL (for DB).
> I've searched the group and many other articles but did not find any
> suitable implementation for real world usage. I want to implement the
> following task:
> 1) authorization via native component Auth - Auth::login, Auth::logout
> etc;
> 2) authentication via ACL with the following linear ARO structure:
> - Group1
> - Group2
> - Group3
> - User1
> - User2
> i.e user can be attached to any group: hasOne group and HABTM group.
> Any relations should be implemented without ACL allowing us change
> relations quickly. So when I want to read permitions for a user, first
> ACL should ask permitions for groups and then for the user, but user's
> ARO haven't to be set.
> 3) ACO's structure:
> - controller1
>   - action1
>   - action2
>   - action3 ($params)
>     - param1
>     - param2
> ...
> i.e. it should check ACL against tree of ACOs. $params - may be a post
> ID or page ID.
> I think this kind of ACL authentication is the most universal and
> practical. It doesn't require to clone permitions for each user or
> similar actions.
> Did anyone implement this kind of functionality? If not, I'll try
> implement it myself. Any suggestions?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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