On Jun 15, 10:06 am, danfreak <[EMAIL PROTECTED]> wrote:
> Hey Bakers,
>
> this is my first post here ;o)
So that wasn't you then?
http://groups.google.com/group/cake-php/msg/5210a4cb9c2ef087
;)
>
> Well I just wanted to ask whether (and how...) I can set ACL.aros
> ACL.acos dynamically.
>
> Namely I have the following tables:
> - Users
> - Groups
> - Groups_Users
>
> I would like to set the Groups in the AROS, and then set permissions
> in the ACOS and manage them in the AROS_ACOS table.
> When an user logs in, the system checks to which group it belongs to
> in the AROS table, and according to the AROS_ACOS table definitions
> grants him access or not.
>
> What I would try to avoid is to set an AROS record for each user
> registered to the site.
>
> Any idea/solution?
What is the problem with creating aros with the alias being the group
name (if you don't want individual user rights), and in your acl
checks using the group name to check if the user's group has
permissions to access the current page?
Please clarify what the concern/problem is (and your version &
revision of cake as it's nearly always relavent)
cheers,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---