Thanks for that I'll take a look. The way I understand it is that when an admin adds a new manual I have to create it as a aco, then when I add a user I create a ARO then assign permissions. Its just how I do that I need to learn.
Thanks again On Thursday, 26 July 2012 15:18:57 UTC+1, Ratty wrote: > > On 26/07/12 14:56, bigjimmi wrote: > > Hi. Within my cake app admins are able to add records (users manuals). I > want to give only certain users access to certain manuals. I'm using the > ACL and Auth component to handle logins and access to CRUD functions. > > How can I control access to these certain records? When an admin creates > a user, I want them to tick check boxes relating to what manuals a user can > access and of course be able to go back and change this. > > Does anyone have any idea how I can accomplish this or have > come across any tutorials with similar functionality? > > Thanks in advance > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > > > Have a read of Mark Story's excellent ACL/Auth tutorial on his blog : > http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1 > > I suspect you'll have to write the check box functionality yourself as it > is specific to your application and your database but this should at least > give you the knowledge as to how to go about doing it. Mark also has a very > nice menu component that you could use after permissions have been assigned > to allow access to your manuals... > http://mark-story.com/posts/view/acl-menu-component > > > > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php