Kohana v3 ACL A2 with database support
I am using Kohana V 3.0.3.
I was looking for ACL library and found from http://dev.kohanap开发者_如何学JAVAhp.com/projects A2 Kohana's ACL module.
Apparently it's found that, it manages Roles,Resources and Rules using config file and authenticate object basis.
I want it to be dynamic, like Resources and Rules should be loaded from database dynamically if valid user logs in. Auth part is done now looking for ACL part.
Is it possible to use same A2 module with database or need to rewrite own logic?
Yes, I have used Kohana's ACL module as a base and written wrapper child class to fetch data from database. Using combination of both now its serving my requirements.
精彩评论