Permission configuration system problem analysis @Arthur

On February 8, 2018, through the analysis of the resource table in the permission database, the versatility of the permission system, Lei Zhang and Xue Anna.

1. The URL can be empty

Because there is a type of resource in the system that is a menu type, it does not require a url, and when the mouse slides over or clicks on it, a drop-down menu will pop up with submenus in it. Submenus may or may not have urls.

Such situations are common in surveillance systems.

The parent-child relationship of these menu resources should also be retained. It can reflect the tree-like relationship in the permission configuration interface.

Analysis result: reasonable.

There is no space, and it will not conflict with the current program logic A, because such menus will not generate http requests.

Current program logic A: The corresponding sub-resource is obtained from the cache according to the current URL (aimURL).

见com.dtgis.sysAdmin.resource.AuthenticateFilter

2. The URL cannot be repeated

There are currently existing duplicate URLs that can be merged in essence.

Duplicate URLs may cause exceptions and conflict with the current program logic A.

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325606247&siteId=291194637