I was just following your tutorial at
http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1.
The first part is fine, in the second part of your tutorial you are
assigning the permission to the group manually using the method $this-
>Acl->allow and $this->Acl->deny. Well as you know, I want that
functionality to be dynamic. So what I will require is to get the
group ID dynamically. It seems that I will have to setup an alias
(which you have not covered in the tutorial for each group and users)
in order to get the group ID. So my doubts are how to set an alias and
also how to get the group ID of just saved group, in order to use it
in $this->Acl->allow. Hope you will provide me a reply. Thank You

On Oct 16, 1:31 am, mark_story <[EMAIL PROTECTED]> wrote:
> Adding permissions can be done through a web interface.  You just need
> to know what actions there are in your app, and what the inherited
> permissions are.  I can't think of any tutorial that will cover your
> exact use case, but there are plenty of tutorials covering how to
> implement an ACL controlled app.  All you need to figure out is how to
> add permissions, which should be fairly evident after perusing the
> tutorials.
>
> If another framework has this type of permissions system already done/
> built-in, I would like to know as I would be interested how it was
> done.
>
> -Mark
>
> On Oct 15, 3:39 pm, jst4fun <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I got a requirement in one of the project which I though cakephp will
> > be suitable. The reason is because it needs an ACL system. In that
> > project, I have to implement add roles page (groups in ACL terms)
> > which would add new groups which is attached with a set of permission.
> > Once a group is added the user is redirected to a page where he can
> > assign the permission for each actions in a controller. Well since I
> > am just a beginner in ACL, I am not sure on how to implement it. In
> > fact I am not even sure if this is possible because most of the
> > tutorials I had followed explains methods to directly add the
> > permission for each group. Could someone guide me on this else I will
> > be forced to change from cakephp to some other framework, which I
> > don't wish to. Please help. Thanks
--~--~---------~--~----~------------~-------~--~----~
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