I would like to ask about thinkphp framework Rights management This piece of things, these two days to see the next thinkphp self-brought instance, have a little understanding, but there is a problem has not been understood, is I want to achieve the effect, but thinkphp think_node table how to store "basic management "What about this node?" Or are you building another table to store the node's grouping information? I see the RBAC Instance database table has a Think_group table, but do not understand the structure between the inside and the Think_node table, Think_group table in the _name, _show the meaning of the field? Can these two fields be removed?
First of all, thank you for your predecessors ' advice, thank you! Please advise
Reply to discussion (solution)
Can someone please explain it for me? Thank you.
I suggest you take a look at the more authoritative documents before you say
thinkphp role-based permissions control
A brief analysis of the use of Thinkphp_2.1_rbac class
An explanation of RBAC database in thinkphp
Think_node and it itself is a one-to-many relationship, that is, the basic management exists among them, links exist among them, but through a parent ID to associate