Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User management, authentication and acl plugin for CakePHP? [closed]

I am pretty new to CakePHP, having been using rails for a little while. My question is, can anyone recommend a good user management, authentication and acl plugin or component for Cake?

I have come across this one, but it has not been updated since 2008. If not can anyone recommend a good book/tutorial site for this kind of set up? I am more than happy to sit down and write this kind of thing myself, but would rather use a tested community plug-in.

Cheers

like image 618
Jack Avatar asked Sep 30 '09 22:09

Jack


5 Answers

I found this one which is updated, works with latest CakePHP v1.3.. But haven't tested it though. Link: http://github.com/jedt/spark_plug

like image 150
Ashok Avatar answered Nov 09 '22 02:11

Ashok


I haven't yet found a plugin that I've been completely satisfied with. I've been using the SimpleAclComponent and SimpleAuthComponent (that are based on A lightweight approach to ACL - The 33 lines of Magic) to build a custom solution.

like image 30
Marko Avatar answered Nov 09 '22 02:11

Marko


You could try the phpGACL plugin for CakePHP - I've had some amount of success with it but it takes a bit of getting used to. You're best checking out the 1.2 branch from the Cakeforge repository though, rather than just going for the "download" link on the plugin's home page, which hasn't been updated for some time.

like image 21
richsage Avatar answered Nov 09 '22 03:11

richsage


I am currently using this one, http://bakery.cakephp.org/articles/view/acl-management-plugin, but I had to modify it a bit to get it to manage CRUD. I'm curious what others will post in this thread.

-Matt

like image 41
mattweg Avatar answered Nov 09 '22 02:11

mattweg


It took some wrestling, but I did eventually get authentication and acl working via built in CakePHP components, Auth and Acl.

Getting it setup was smooth until it came time to grant and deny permissions. For this I use an Acl management plugin by Jeff Loiselle that I got from http://bakery.cakephp.org/articles/view/acl-management-plugin

like image 44
Adam Avatar answered Nov 09 '22 03:11

Adam