One, what is RBAC role-based access control (role-based access controls) as a promising alternative to traditional access control (autonomous access, forced access) has received widespread attention. In RBAC, permissions are associated with roles, and users becomerole-based access controls (role-based access control) as a promising alternative to traditional access control (autonomous access, forced access) are widely concerned.
Array(' App_autoload_path ' = ' @ '. TagLib ', ' session_auto_start ' =classType 1 Login Authentication 2 real-time authenticationUser authentication Session Tag' Admin_auth_key ' = ' Administrator ', ' User_auth_model ' and ' USER ', Span style= "line-height:1.5;" > Visitor's user ID ' db_like_fields ' = ' title|remark ', ' rbac_role_table ' = ' think_role ' ', ' rbac_user_table ' = ' think_role_user ', ' rbac_access_table ' and ' think_access ', ' rbac_node_table ' = ' think_ ' Node ', ' Show_page_trace ' =>1< Span style= "Background-color: #ffffff;" > display debug information );
The getaccesslist ($authId) method returns the value of the permission list $_session[' _access_list '] by querying the database .
thinkphp role-based permissions control