views:

133

answers:

2

hello folks, Is there any easy way to create a user interface to role management section(allow or deny permissions) for admin in cakePHP?

easy way means any inbuid helper or something?

A: 

No, there is no inbuilt helper to create this kind of functionality. Your best bet is to cake bake the MVC stack you've designed for this functionality.

Cake can do lots, but designing your application for you is probably out of scope :p

DavidYell
+1  A: 

Hello RSK,

you can check out the bakery for the ACL plugin. This provides you with an admin interface (UI) for handling an existing aro/aco structure, at least the CRUD functionality (I have not played long with the plugin). If you don't have an aro/aco structure yet, follow the tutorial at the end of the manual.

If you simply look for a group based, individual based rights management, same tutorial could be all you need, as moving users between groups leads to different access rights.

Enjoy. Kind regards, Benjamin.

benjamin