Home >Backend Development >PHP Tutorial >How to configure Thinkphp3.2.3 Rbac background permission management in the logged-in controller? Ask God for help

How to configure Thinkphp3.2.3 Rbac background permission management in the logged-in controller? Ask God for help

WBOY
WBOYOriginal
2016-08-08 09:06:361129browse

What I wrote in the video of Thinkphp3.1.3 was not implemented! Ask God for help

Reply content:

What I wrote in the video of Thinkphp3.1.3 was not implemented! Ask God for help

The Rbac encapsulation class is placed in OrgUtilRbac.class.php
Please refer to:

http://www.tuicool.com/articl...

In the configuration file, such as Application/Common/Config/config.php or Application/Admin/Config/config.php under the module
. Create a public controller, such as CommomController.class.php, which has a constructor Perform permission verification. Then, other controllers inherit it

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn