Limit user access to files according to their role in CMS
I have multiple folders with content and should decide whether to give or give not permission to user access this content according to user's role in my CMS. Access is given on per-folder basis.

The CMS is PHP+MySQL and over Kohana3 framework.
Web server is Apache+nginx

What is best solution to perform the task in my case?
Limit user access to files according to their role in CMS
===

I have multiple folders with content and should decide whether to give or give not permission to user access this content according to user's role in my CMS. Access is given on per-folder basis.

The CMS is PHP+MySQL and over Kohana3 framework.
Web server is Apache+nginx

What is best solution to perform the task in my case?