it isn't easy to solution by post i will write simple solution in
future on cake wiki, but now u must use of exist article
On Oct 8, 2:07 pm, "milicic.marko" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using ACL mechanism to setup permisions for some user groups on my
> app.
>
> Example:
>
> Trial members have access to view action, but Full members have access
> to view/add/edit/delete actions.
>
> It works fine for me. But this is simplyfied example. In real world my
> application have 5 user groups.
>
> Example:
>
> I have Trial and Limited user groups. Both of them are not allowed to
> access /view/add/edit/detete action
> but if some Trial user tries to access one of them he should be
> redirected to UPGRADE YOUR ACCOUNT page
> and Limited user tries to access them he should be redirected to
> MEMBERSHI REQUIRED page...
>
> I handled that in beforeFilter but I'm wondering if there is more
> elegant solution (to minimize hardcoding
> usergroups in beforefilter method)
> 
> Any idea?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to