Home > Backend Development > PHP Tutorial > 关于ThinkPhp RBAC的有关问题

关于ThinkPhp RBAC的有关问题

WBOY
Release: 2016-06-13 12:40:24
Original
791 people have browsed it

关于ThinkPhp RBAC的问题
在Thinkphp的RBAC中,目前我看tp视频教程的做法是,无论用户对某个节点有没有权限,都显示给用户,只不过在用户操作的时候给出错误提示没有权限。请问大家,如何做到,没有权限的节点对应的菜单直接不显示给用户。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template