In order to achieve the different selector / rule represented by the plugin managed by different business units, the need for the plugin selector / rule data security for the user to control When the user does not configure data permissions, it has all the data permissions, as long as the permissions are configured, the data permissions will be controlled. As shown in the following picture.
The Brief introduce is as follows.
ConfigureDataPermission
to manage the user's data permissions.Make sure the data exists in the plugin list before doing so. If not, you will have any data to configure.
Now, let's look how to operation step by step:
Clicking the menu “System Manage -> User” to create user, like this:
Adding data in the plugin list, this article uses divide
as an example, like:
Giving the divide
plugin permission to the default
role.
The default
role has none permissions.The user can't login who we set default
role to. So we must edit the permissons.
When we create the common users, we can edit data permissions by the ConfigureDataPermission
button.
The datas in this list are the same as the plugin list.
When the user login, he just can see the data given to him.