Authority control method, system and equipment for front-end and rear-end separated project and storage medium
An access control, front-end and back-end technology, applied in the field of data processing, can solve problems such as unfriendly and unsafe users, and achieve the effects of ensuring security, lowering operational thresholds, and improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Please refer to figure 1 , an embodiment of the present invention provides a permission control method for front-end and back-end separation projects, including the following steps:
[0032] S101. Determine the resources that need to be controlled by permissions, and the display forms of the resources on the front-end page when they have permissions and have no permissions;
[0033] In the page function design stage, it is necessary to clarify the page elements such as menus, pages, function modules, and operation items that need to be controlled by permissions. In this embodiment, they are called resources, and at the same time determine the display forms when they have permissions and do not have permissions. In this embodiment, the display form in the authorized state is defined as the first form, and the display form in the non-authorized state is defined as the second form, for example: user management menu: display this menu item when authorized, and hide it when ...
Embodiment 2
[0046] Please refer to Image 6 , the embodiment of the present invention provides an authority control system for front-end and back-end separation projects, including: a page function design module 100: used to determine the resources that need to be controlled by authority, and when the above-mentioned resources have authority and no authority, they can be displayed on the front-end page display form; resource ID definition module 200: used to define a uniquely identified resource ID for the above-mentioned resources; first association model building module 300: used to obtain the interface that needs to be called for each resource ID, and establish the first link between the resource ID and the interface An association model; the second association model building module 400: constructing a second association model between the user ID and the resource ID with which the user has authority; the front-end display module 500: used to obtain the user ID, and obtain the user's aut...
Embodiment 3
[0051] An embodiment of the present invention provides an electronic device, including: at least one processor 1, at least one memory 2 and a data bus 3;
[0052] Wherein, the above-mentioned processor 1 and the above-mentioned memory 2 complete mutual communication through the above-mentioned data bus 3; the above-mentioned memory 2 stores program instructions that can be executed by the above-mentioned processor 1, and the above-mentioned processor 1 calls the above-mentioned program instructions to execute the above-mentioned embodiment The method in, for example, execute: S101, determine the resource that needs to be controlled by authority, and the display form of the above resource on the front page when the above resource is authorized or not; S102, define the resource ID of the unique identifier for the above resource; S103, obtain Each resource ID needs to call the interface, establish the first association model between the resource ID and the interface; S104, build t...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com