문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top