CN109784033A - Operating right Dynamic Configuration and relevant device based on page menus - Google Patents
Operating right Dynamic Configuration and relevant device based on page menus Download PDFInfo
- Publication number
- CN109784033A CN109784033A CN201811523987.XA CN201811523987A CN109784033A CN 109784033 A CN109784033 A CN 109784033A CN 201811523987 A CN201811523987 A CN 201811523987A CN 109784033 A CN109784033 A CN 109784033A
- Authority
- CN
- China
- Prior art keywords
- user
- routing iinformation
- permission
- menu
- menu permission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000009826 distribution Methods 0.000 claims abstract description 3
- 238000003860 storage Methods 0.000 claims description 7
- 238000009877 rendering Methods 0.000 claims description 6
- 238000007689 inspection Methods 0.000 claims 4
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004064 recycling Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of operating right dynamic allocation method and relevant device based on page menus, the described method includes: creation user, to user distribution role and role's configuration menu permission and routing iinformation are given, and the user, role, menu permission and routing iinformation are stored in background data base;When detecting that the user logs in, Xiang Suoshu background data base requests the menu permission and routing iinformation of the user;After receiving the menu permission and routing iinformation of the user, the user configuration operating right is given according to the menu permission of the user, and page menus is generated in front end according to the routing iinformation of the user.The present invention gives user role configuration menu and page operation permission, menu and function privilege that can be different according to different user's controls achieve the purpose that dynamic configuration user right by user role and routing associated.
Description
Technical field
This application involves computer safety field, in particular to a kind of operating right dynamic configuration side based on page menus
Method and relevant device.
Background technique
Background management system is mainly used for the information management to foreground, and such as text, picture, audio-visual and other are daily makes
The operation such as publication, update, deletion with file, while also including the statistics and management of the information such as member, order, visitor.Simply
For be from the background exactly fast operating and management system to site databases and file so that foreground content can obtain in time
It updates and adjusts.
For current background management system, for its menu of specified user and function privilege after setting nothing
Method change, causes the permission of user not distributed dynamically, the permission that front end menu page also can not be different according to user
It is updated.
Summary of the invention
In view of the above-mentioned deficiencies in the prior art, it is an object of the present invention to provide a kind of operating right dynamic based on page menus
Configuration method and relevant device achieve the purpose that dynamic configuration user right, and realize that the dynamic of front end page menu updates.
In order to achieve the above objectives, technical solution of the present invention provides a kind of operating right dynamic configuration based on page menus
Method and relevant device.
The operating right Dynamic Configuration based on page menus that the invention discloses a kind of, comprising the following steps:
User is created, to user distribution role and gives role's configuration menu permission and routing iinformation, and will
The user, role, menu permission and routing iinformation are stored in background data base;
When detecting that the user logs in, Xiang Suoshu background data base requests the menu permission and routing letter of the user
Breath;
After receiving the menu permission and routing iinformation of the user, the user is given according to the menu permission of the user
Operating right is configured, and page menus is generated in front end according to the routing iinformation of the user.
Preferably, described when detecting that the user logs in, Xiang Suoshu background data base requests the menu of the user
Permission and routing iinformation, comprising:
When detecting that the user logs in, Xiang Suoshu background data base sends request;
After the background data base receives the request, in the background data base according to the user query
The corresponding role of user;
After inquiring the corresponding role of the user in the background data base, according to the role inquiry with it is described
The corresponding menu permission of role and routing iinformation.
Preferably, described when detecting that the user logs in, Xiang Suoshu background data base requests the menu of the user
After permission and routing iinformation, comprising:
After receiving the request, the menu permission and routing iinformation of the user are inquired in the background data base;
After inquiring the menu permission and routing iinformation of the user, forward end send the user menu permission and
Routing iinformation.
Preferably, it is described after receiving the menu permission and routing iinformation of the user, it is weighed according to the menu of the user
It limits to the user configuration operating right, and page menus is generated in front end according to the routing iinformation of the user, comprising:
After the background data base inquires the menu permission and routing iinformation, the menu permission and routing are believed
Breath is sent to front end, and after the front end receives the menu permission of the user, gives the user according to the menu permission
Configure corresponding operation permission;
After the front end receives the menu permission and routing iinformation, according to the menu permission and routing iinformation preceding
End rendering generates page menus corresponding with the operating right.
Preferably, described after the front end receives the menu permission and routing iinformation, according to the menu permission and
Routing iinformation generates page menus corresponding with the operating right in front end rendering, comprising:
After getting the routing iinformation, routing table is generated according to the routing iinformation in front end;
It is rendered according to the routing table in front end and generates page menus.
Preferably, described when detecting that the user logs in, Xiang Suoshu background data base requests the menu of the user
After permission and routing iinformation, comprising:
After getting the menu permission and routing iinformation of the user, by the menu permission and routing iinformation of the user
It is stored in the condition managing of front end;
After the user logs off, the menu permission and routing of the user in the front end condition managing are deleted
Information.
Preferably, described when detecting that the user logs in, Xiang Suoshu background data base requests the menu of the user
After permission and routing iinformation, comprising:
When the menu permission and routing iinformation of the user are returned as sky, stop configuration and the institute of the operating right
The generation of page menus is stated, and the user is prompted to log in again.
The invention also discloses a kind of operating right dynamic configuration device based on page menus, described device include:
Permission creation module: being set as creation user, distributes role to the user and to role's configuration menu
Permission and routing iinformation, and the user, role, menu permission and routing iinformation are stored in background data base;
Authority acquiring module: it is set as when detecting that the user logs in, Xiang Suoshu background data base requests the use
The menu permission and routing iinformation at family;
Permission configuration module: it is set as after receiving the menu permission and routing iinformation of the user, according to the user
Menu permission give the user configuration operating right, and according to the routing iinformation of the user front end generate page menus.
The invention also discloses a kind of computer equipment, including memory and processor, meter is stored in the memory
Calculation machine readable instruction, when the computer-readable instruction is executed by the processor, so that processor execution is described above
The step of method.
The invention also discloses a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction quilt
When one or more processors execute, so that the step of one or more processors execute method described above.
The beneficial effects of the present invention are: the present invention gives user role configuration menu by user role and routing associated
And page operation permission, menu and function privilege that can be different according to different user's controls, reach dynamic configuration use
The purpose of family permission;And permissions list is read to backstage when logging in by user, and pass through the corresponding relationship of the permission and routing
Generate the update that menu page realizes front end page menu.
Detailed description of the invention
Fig. 1 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 2 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 3 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 4 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 5 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 6 is a kind of process signal of operating right Dynamic Configuration based on page menus of the embodiment of the present invention
Figure;
Fig. 7 is a kind of operating right dynamic configuration device schematic diagram based on page menus of the embodiment of the present invention.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.
A kind of operating right Dynamic Configuration process based on page menus of the embodiment of the present invention is as described in Figure 1, this
Embodiment the following steps are included:
Step s101 creates user, distributes role to the user and to role's configuration menu permission and routing
Information, and the user, role, menu permission and routing iinformation are stored in background data base;
Specifically, the creation user show each user create one belonging to the user account, the account
Including user name and password, when logging in system by user, verifying login can be carried out by inputting username and password.
Specifically, after creation user corresponding role, the body of the role, that is, user can be distributed to the user
Part, for example a user is the user of certain website, is exactly the common of the website if the user registers in the website
Member, but can be at this time VIP member, the regular member and VIP member are just if having filled value has bought member
It is the role of user.Wherein, a user can have multiple roles.If the corresponding role of a user, user's
Route list and operating right are stringent matching, if a user corresponds to multiple roles, the permission of the user is more
The intersection of a user right and operating right
Specifically, after distributing role to the user different permissions can be configured to each role, such as commonly
The permission of member can only be write to look at, and some webpages are also restricted, cannot browse, and the permission of VIP member be can be with
Any downloading, any browsing etc..Wherein, when the user is regular member, the user and regular member are
Corresponding relationship, and when the user is VIP member, the user and regular member, VIP member are corresponding passes
System, i.e., the described user is both regular member and VIP member, while enjoying the permission of regular member and VIP member.Wherein, institute
The routing iinformation stated refers to that the menu that front end page is shown according to the permission, such as VIP member have the permission of downloading, then
Front end page can show download menu, and if there will be no this menu or this menu meetings without the user of this permission
It shows but not comes into force.
Specifically, when the user creates, the corresponding role of the user distributes and the permission of the role is matched
After setting, so that it may determine the relationship between the relationship and role and permission between user and role, the relationship can
With production Methods table, i.e. the account with role ID of user is corresponding, and role ID is corresponding with permission ID, then can above- mentioned information,
Relation table and routing iinformation are stored in background data base.
Step s102, when detecting that the user logs in, Xiang Suoshu background data base requests the menu of the user to be weighed
Limit and routing iinformation;
Specifically, when users log on, the permissions list data of this login user can be requested to background data base, it is described to ask
Asking information, the permissions list data such as the account in message comprising the user just includes the menu permission and routing of the user
Information.
Step s103, after receiving the menu permission and routing iinformation of the user, according to the menu permission of the user
Page menus is generated in front end to the user configuration operating right, and according to the routing iinformation of the user.
Specifically, after the background data base receives the request of permissions list data of the user, it can be according to institute
The user account information stated in request message is inquired, and finds corresponding role according to the account information of the user first,
Then corresponding menu permission and routing iinformation are found according to the role.
Specifically, after background data base inquires the corresponding menu permission of the user and routing iinformation, it will be upper
It states menu permission and routing iinformation is sent to front end page, it is first after front end page receives the menu permission and routing iinformation
The operating rights such as the user configuration associated rights, such as addition, deletion, downloading, inquiry, modification can be first given according to menu permission
Then limit the routing iinformation of the menu permission is added by the router.addRouters method that vue-router is provided
Into router object, such front end can be by recycling router object, to render the interface after user logs in;Wherein,
The router.addRouters is that the dynamic that vue-router is provided provides the interface of routing rule, this interface can incite somebody to action
It is added in router object from the routing iinformation that background data base is got, realizes the dynamic configuration of front end page, it is described
Interface is exactly the interface comprising the various menus of the user, if user passes through the menu permission that configures and changes, when login
The menu page of rendering also can be accordingly increased or be reduced, and be achieved in the dynamic control of menu permission.
In the present embodiment, by the relationship established between user, role and permission, and power is read when user logs in
Table data is limited, achievees the purpose that carry out dynamic configuration to the operating right of user.
Fig. 2 is a kind of operating right Dynamic Configuration flow diagram based on page menus of the embodiment of the present invention,
As shown, the step s102, when detecting that the user logs in, Xiang Suoshu background data base requests the dish of the user
Single permission and routing iinformation, comprising:
Step s201, when detecting that the user logs in, Xiang Suoshu background data base sends request;
Specifically, when users log on, can send and request to background data base;When login due to the user
It is account and password login, therefore should includes the information such as the account of the user in the request message.
Step s202, after the background data base receives the request, according to the use in the background data base
The corresponding role of the user is inquired at family;
Specifically, after background data base receives the request message, according to user's account in the request message
It number is inquired, due to there being the relation table of user account role corresponding with the user account in the background data base,
Therefore the corresponding role of the user can be easily found according to the user account.
Step s203, after inquiring the corresponding role of the user in the background data base, according to the role
Inquire menu permission corresponding with the role and routing iinformation.
Specifically, after background data base inquires the role of the user, due to having in the background data base
The relation table of user role menu permission corresponding with the role and routing iinformation, therefore according to the role of the user
The corresponding menu permission of the user role and reason information can be easily found.
In the present embodiment, by storing the corresponding relationship of user and role and permission in background data base, effectively look into
Ask the corresponding permissions data of the user.
Fig. 3 is a kind of operating right Dynamic Configuration flow diagram based on page menus of the embodiment of the present invention,
As shown, the step s102, when detecting that the user logs in, Xiang Suoshu background data base requests the dish of the user
After single permission and routing iinformation, comprising:
Step s301, after receiving the request, inquired in the background data base user menu permission and
Routing iinformation;
Specifically, the user will be inquired in the background data base after background data base receives the request
Permissions list data, the permissions list data just include the menu permission and routing iinformation of the user, are asked due to described
The information such as the account in asking comprising the user, therefore the menu permission of the user can be inquired by the account of the user
And routing iinformation.
Step s302, after inquiring the menu permission and routing iinformation of the user, forward end sends the user's
Menu permission and routing iinformation.
Specifically, after background data base inquires the corresponding menu permission of the user and routing iinformation, so that it may
The menu permission and routing iinformation of the user is sent to front end page.
In the present embodiment, the menu permission and routing iinformation of the user are returned by the background data base forward end page,
The menu permission and routing iinformation for effectively obtaining the user, so that user right can be with dynamic configuration.
Fig. 4 is a kind of operating right dynamic allocation method flow diagram based on page menus of the embodiment of the present invention,
As shown, the step s103, after receiving the menu permission and routing iinformation of the user, according to the menu of the user
Permission gives the user configuration operating right, and generates page menus in front end according to the routing iinformation of the user, comprising:
Step s401 weighs the menu after background data base inquires the menu permission and routing iinformation
Limit and routing iinformation are sent to front end, and after the front end receives the menu permission of the user, according to the menu permission
To the user configuration corresponding operation permission;
Specifically, preceding end page will be sent to after background data base inquires the menu permission and the routing iinformation
Face will weigh after front end page receives the menu permission that the background data base is sent and routing iinformation according to the menu
It limits to the user configuration associated rights, the permission includes the operating rights such as addition, deletion, downloading, inquiry, modification, described
Permission is corresponding with the menu of front end page.
Step s402, after the front end receives the menu permission and routing iinformation, according to the menu permission and road
By information, in front end, rendering generates page menus corresponding with the operating right.
Specifically, then may be used after front end page operating right complete to the user configuration according to the menu permission
The routing iinformation of the menu permission is added in the router.addRouters method provided by vue-router
In router object, such front end can be by recycling router object, to render the interface after user logs in;Wherein, institute
Stating router.addRouters is that the dynamic that vue-router is provided provides the interface of routing rule, this interface can will be from
The routing iinformation that background data base is got is added in router object, realizes the dynamic configuration of front end page, the boundary
Face is exactly the interface comprising the various menus of the user, if user passes through the menu permission that configures and changes, wash with watercolours when login
The menu page of dye also can be accordingly increased or be reduced, and be achieved in the dynamic control of menu permission.
In the present embodiment, the operating right of user described in the menu authority configuration by acquisition, and the road for passing through acquisition
Menu page is generated by information, completes the purpose of user's dynamic configuration operating right.
Fig. 5 is a kind of operating right Dynamic Configuration flow diagram based on page menus of the embodiment of the present invention,
As shown, the step s402, after the front end receives the menu permission and routing iinformation, according to the menu permission
And in front end, rendering generates page menus corresponding with the operating right to routing iinformation, comprising:
Step s501 generates routing table according to the routing iinformation in front end after getting the routing iinformation;
Specifically, after front end page gets the routing iinformation, since the routing iinformation is not necessarily specification
Router structure, it is therefore desirable to acquired routing iinformation is converted into router structure of arrays, then passed through
The routing iinformation is added to routing by router.addRouters, generates corresponding routing table.
Step s502 is rendered in front end according to the routing table and is generated page menus.
Specifically, when the router.addRouters method provided by vue-router is by the road of the menu permission
It is added in router object by information, i.e., after the routing table generates, such front end can be router pairs by circulation
As to render the interface after user logs in;Wherein, the router.addRouters is the dynamic that vue-router is provided
The interface of routing rule is provided, the routing iinformation got from background data base can be added to router object by this interface
In, realize the dynamic configuration of front end page, the interface is exactly the interface comprising the various menus of the user, if user is logical
The menu permission for crossing configuration changes, and the menu page that when login renders also can be accordingly increased or be reduced, and is achieved in
The dynamic of menu permission controls.
In the present embodiment, by the conversion between routing iinformation and routing table, effectively routing iinformation is rendered and generates page
Face menu.
Fig. 6 is a kind of operating right Dynamic Configuration flow diagram based on page menus of the embodiment of the present invention,
As shown, it is described when detect the user log in when, Xiang Suoshu background data base request the user menu permission and
After routing iinformation, comprising:
Step s601, after getting the menu permission and routing iinformation of the user, by the menu permission of the user
And routing iinformation is stored in the condition managing of front end;
Specifically, after front end gets the menu permission and routing iinformation of the user, it can be by the road of the user
It is converted by information, i.e., the routing iinformation is converted to the routing sheet form for meeting router data structure, and will be described
Routing table after conversion is stored in the vue condition managing of front end, and the vue condition managing can be vuex.
Step s602 deletes the menu of the user in the front end condition managing after user logs off
Permission and routing iinformation.
Specifically, inquiring the front end state of the user according to the account of the user after user logs off
Storage record in management, and the menu permission of the user stored in the front end condition managing and routing iinformation are carried out
It deletes.
In the present embodiment, by saving the menu permission and routing iinformation of the user during user logs in, convenient for using
Family can access the menu permission and routing iinformation in the whole life cycle of login.
In one embodiment, the step s102, when detecting that the user logs in, Xiang Suoshu background data base is asked
After menu permission and the routing iinformation of asking the user, comprising:
When the menu permission and routing iinformation of the user are returned as sky, stop configuration and the institute of the operating right
The generation of page menus is stated, and the user is prompted to log in again.
Specifically, if user network can be prompted when the menu permission and routing iinformation that read the user fail
It is abnormal, and remind user to attempt to log in again, while the page can also show the welcome interface of blank.If the user returned
Menu permission and routing iinformation when being that the empty or described user does not have relevant operating right, front end can stop the operation
The configuration of permission and the generation of the page menus, and the user is prompted to log in again.
In the present embodiment, by the menu permission of request and the detection of routing iinformation, when the menu permission of the return
And routing iinformation is prompted user to log in again, improves the susceptibility of user when being empty.
A kind of operating right dynamic configuration device based on page menus of the embodiment of the present invention is as described in Figure 7, comprising:
Permission creation module 701, authority acquiring module 702 and permission configuration module 703;Wherein, permission creation module
701 are connected with authority acquiring module 702, and authority acquiring module 702 is connected with permission configuration module 703;Permission creation module 701
It is set as creation user, distributes role to the user and to role's configuration menu permission and routing iinformation, and by institute
User, role, menu permission and routing iinformation is stated to be stored in background data base;Authority acquiring module 702 is set as when detection
When logging in user, Xiang Suoshu background data base requests the menu permission and routing iinformation of the user;Permission configuration module 703
It is set as after receiving the menu permission and routing iinformation of the user, is matched according to the menu permission of the user to the user
Operating right is set, and page menus is generated in front end according to the routing iinformation of the user.
The embodiment of the invention also discloses a kind of computer equipment, the computer equipment include memory, processor and
It is stored in the computer-readable instruction that can be run on the memory and on the processor, the computer-readable instruction quilt
The processor executes the processor in operating right Dynamic Configuration described in the various embodiments described above
Step.
It is described computer-readable the embodiment of the invention also discloses a kind of storage medium for being stored with computer-readable instruction
When instruction is executed by one or more processors, so that one or more processors execute operating right described in above-described embodiment
Step in Dynamic Configuration.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be
The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of operating right Dynamic Configuration based on page menus, which comprises the following steps:
User is created, to user distribution role and gives role's configuration menu permission and routing iinformation, and will be described
User, role, menu permission and routing iinformation are stored in background data base;
When detecting that the user logs in, Xiang Suoshu background data base requests the menu permission and routing iinformation of the user;
After receiving the menu permission and routing iinformation of the user, the user configuration is given according to the menu permission of the user
Operating right, and page menus is generated in front end according to the routing iinformation of the user.
2. the operating right Dynamic Configuration based on page menus as described in claim 1, which is characterized in that described when inspection
When measuring user login, Xiang Suoshu background data base requests the menu permission and routing iinformation of the user, comprising:
When detecting that the user logs in, Xiang Suoshu background data base sends request;
After the background data base receives the request, the user according to the user query in the background data base
Corresponding role;
After inquiring the corresponding role of the user in the background data base, according to the role inquiry and the role
Corresponding menu permission and routing iinformation.
3. the operating right Dynamic Configuration based on page menus as described in claim 1, which is characterized in that described when inspection
When measuring user login, Xiang Suoshu background data base is requested after menu permission and the routing iinformation of the user, comprising:
After receiving the request, the menu permission and routing iinformation of the user are inquired in the background data base;
After inquiring the menu permission and routing iinformation of the user, forward end sends the menu permission and routing of the user
Information.
4. the operating right Dynamic Configuration based on page menus as described in claim 1, which is characterized in that described when receipts
To after the menu permission and routing iinformation of the user, the user configuration operating rights is given according to the menu permission of the user
Limit, and page menus is generated in front end according to the routing iinformation of the user, comprising:
After the background data base inquires the menu permission and routing iinformation, the menu permission and routing iinformation are sent out
Front end is given, and after the front end receives the menu permission of the user, gives the user configuration according to the menu permission
Corresponding operation permission;
After the front end receives the menu permission and routing iinformation, according to the menu permission and routing iinformation in front end wash with watercolours
Dye generates page menus corresponding with the operating right.
5. the operating right Dynamic Configuration based on page menus as claimed in claim 4, which is characterized in that described to work as institute
State after front end receives the menu permission and routing iinformation, according to the menu permission and routing iinformation front end rendering generate with
The corresponding page menus of the operating right, comprising:
After getting the routing iinformation, routing table is generated according to the routing iinformation in front end;
It is rendered according to the routing table in front end and generates page menus.
6. the operating right Dynamic Configuration based on page menus as described in claim 1, which is characterized in that described when inspection
When measuring user login, Xiang Suoshu background data base is requested after menu permission and the routing iinformation of the user, comprising:
After getting the menu permission and routing iinformation of the user, the menu permission and routing iinformation of the user are saved
In the condition managing of front end;
After the user logs off, the menu permission and routing letter of the user in the front end condition managing are deleted
Breath.
7. the operating right Dynamic Configuration based on page menus as described in claim 1, which is characterized in that described when inspection
When measuring user login, Xiang Suoshu background data base is requested after menu permission and the routing iinformation of the user, comprising:
When the menu permission and routing iinformation of the user are returned as sky, stop the operating right configuration and the page
The generation of face menu, and the user is prompted to log in again.
8. a kind of operating right dynamic configuration device based on page menus, which is characterized in that the configuration device includes:
Permission creation module: being set as creation user, distributes role to the user and to role's configuration menu permission
And routing iinformation, and the user, role, menu permission and routing iinformation are stored in background data base;
Authority acquiring module: it is set as when detecting that the user logs in, Xiang Suoshu background data base requests the user's
Menu permission and routing iinformation;
Permission configuration module: it is set as after receiving the menu permission and routing iinformation of the user, according to the dish of the user
Single permission gives the user configuration operating right, and generates page menus in front end according to the routing iinformation of the user.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described
When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right
It is required that the step of the method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more
When device executes, so that one or more processors execute the step such as any one of claims 1 to 7 claim the method
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811523987.XA CN109784033A (en) | 2018-12-13 | 2018-12-13 | Operating right Dynamic Configuration and relevant device based on page menus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811523987.XA CN109784033A (en) | 2018-12-13 | 2018-12-13 | Operating right Dynamic Configuration and relevant device based on page menus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109784033A true CN109784033A (en) | 2019-05-21 |
Family
ID=66496902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811523987.XA Pending CN109784033A (en) | 2018-12-13 | 2018-12-13 | Operating right Dynamic Configuration and relevant device based on page menus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109784033A (en) |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297672A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Page dynamic creation method, device, computer equipment and storage medium |
CN110365640A (en) * | 2019-05-30 | 2019-10-22 | 苏州浪潮智能科技有限公司 | A kind of method and apparatus of control single-page application routing |
CN110378099A (en) * | 2019-07-23 | 2019-10-25 | 浪潮云信息技术有限公司 | A kind of menu authorization method |
CN110443010A (en) * | 2019-07-22 | 2019-11-12 | 安徽智恒信科技股份有限公司 | One kind permission visual configuration control method, device, terminal and storage medium in information system |
CN110471728A (en) * | 2019-07-11 | 2019-11-19 | 中国平安财产保险股份有限公司 | Method and relevant apparatus based on user right display interface |
CN110493239A (en) * | 2019-08-26 | 2019-11-22 | 京东数字科技控股有限公司 | The method and apparatus of authentication |
CN110502712A (en) * | 2019-08-09 | 2019-11-26 | 广东浪潮大数据研究有限公司 | A kind of web menu generation method, device and server |
CN110502912A (en) * | 2019-08-19 | 2019-11-26 | 四川长虹电器股份有限公司 | A kind of front end permission route control method |
CN110535774A (en) * | 2019-07-24 | 2019-12-03 | 平安科技(深圳)有限公司 | Dynamic routing processing method, device, computer equipment and storage medium |
CN110601886A (en) * | 2019-09-02 | 2019-12-20 | 深圳市丰润达科技有限公司 | Method and device for configuring master and slave ends of network bridge based on terminal and readable storage medium |
CN110955872A (en) * | 2019-12-12 | 2020-04-03 | 北京金山云科技有限公司 | Authority control method, device, terminal and medium |
CN111177612A (en) * | 2019-07-16 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Method and related device for authenticating page login |
CN111181941A (en) * | 2019-12-23 | 2020-05-19 | 杭州安恒信息技术股份有限公司 | Page login method, system and related device |
CN111459566A (en) * | 2020-03-10 | 2020-07-28 | 中国平安人寿保险股份有限公司 | Authority verification-based route loading method and related equipment |
CN111835646A (en) * | 2020-07-13 | 2020-10-27 | 四川虹魔方网络科技有限公司 | Vue-based modular routing management method and authority control method |
CN112035207A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Page menu dynamic loading method and device based on database |
CN112231658A (en) * | 2020-09-23 | 2021-01-15 | 傲普(上海)新能源有限公司 | VUE-based ERP dynamic authority control method |
CN112257091A (en) * | 2020-10-28 | 2021-01-22 | 南开大学 | Authority control method based on front-end and back-end separation |
CN112269971A (en) * | 2020-11-10 | 2021-01-26 | 电子科技大学 | Authority organization structure and authority management method for large software |
CN112367260A (en) * | 2020-10-13 | 2021-02-12 | 华帝股份有限公司 | Method, system, electronic device and medium for authority management based on dynamic routing |
CN112487407A (en) * | 2020-12-01 | 2021-03-12 | 广州奇享科技有限公司 | Authority control method, device, medium and electronic equipment |
CN113312049A (en) * | 2021-06-11 | 2021-08-27 | 浪潮云信息技术股份公司 | Front-end dynamic routing implementation method |
CN113342340A (en) * | 2021-05-31 | 2021-09-03 | 北京达佳互联信息技术有限公司 | Component rendering method and device |
CN113568541A (en) * | 2021-08-09 | 2021-10-29 | 豆盟(北京)科技股份有限公司 | Page function determination method and device, electronic equipment and storage medium |
CN113656724A (en) * | 2021-10-20 | 2021-11-16 | 深圳市信润富联数字科技有限公司 | Method and system for dynamically configuring webpage function based on web page |
CN115686683A (en) * | 2022-11-21 | 2023-02-03 | 广州市保伦电子有限公司 | Menu navigation dynamic generation method, device, equipment and medium |
CN115865436A (en) * | 2022-11-22 | 2023-03-28 | 平安银行股份有限公司 | Multi-application multi-page authority management method and device and computer equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000021154A (en) * | 1998-09-26 | 2000-04-15 | 이상철 | User defined menu editor |
CN103870129A (en) * | 2012-12-13 | 2014-06-18 | 阿里巴巴集团控股有限公司 | Data processing method and device for application system cluster |
CN105187501A (en) * | 2015-08-07 | 2015-12-23 | 北京思特奇信息技术股份有限公司 | Menu display method and system of service system based on B/S architecture |
CN105262725A (en) * | 2015-09-08 | 2016-01-20 | 浪潮(北京)电子信息产业有限公司 | Account sharing control method and system |
CN108776609A (en) * | 2018-06-27 | 2018-11-09 | 郑州云海信息技术有限公司 | A kind of method, apparatus, computer storage media and the terminal of management navigation menu |
-
2018
- 2018-12-13 CN CN201811523987.XA patent/CN109784033A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000021154A (en) * | 1998-09-26 | 2000-04-15 | 이상철 | User defined menu editor |
CN103870129A (en) * | 2012-12-13 | 2014-06-18 | 阿里巴巴集团控股有限公司 | Data processing method and device for application system cluster |
CN105187501A (en) * | 2015-08-07 | 2015-12-23 | 北京思特奇信息技术股份有限公司 | Menu display method and system of service system based on B/S architecture |
CN105262725A (en) * | 2015-09-08 | 2016-01-20 | 浪潮(北京)电子信息产业有限公司 | Account sharing control method and system |
CN108776609A (en) * | 2018-06-27 | 2018-11-09 | 郑州云海信息技术有限公司 | A kind of method, apparatus, computer storage media and the terminal of management navigation menu |
Non-Patent Citations (1)
Title |
---|
旷志光;纪婷婷;吴小丽;: "基于Vue.js的后台单页应用管理系统的研究与实现", 现代计算机(专业版), no. 30, pages 51 - 55 * |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297672A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Page dynamic creation method, device, computer equipment and storage medium |
WO2020233306A1 (en) * | 2019-05-22 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Dynamic page generation method and apparatus, and computer device and storage medium |
CN110365640A (en) * | 2019-05-30 | 2019-10-22 | 苏州浪潮智能科技有限公司 | A kind of method and apparatus of control single-page application routing |
CN110471728A (en) * | 2019-07-11 | 2019-11-19 | 中国平安财产保险股份有限公司 | Method and relevant apparatus based on user right display interface |
CN110471728B (en) * | 2019-07-11 | 2024-05-17 | 中国平安财产保险股份有限公司 | Method and related device for displaying interface based on user permission |
CN111177612B (en) * | 2019-07-16 | 2023-09-19 | 腾讯科技(深圳)有限公司 | Page login authentication method and related device |
CN111177612A (en) * | 2019-07-16 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Method and related device for authenticating page login |
CN110443010A (en) * | 2019-07-22 | 2019-11-12 | 安徽智恒信科技股份有限公司 | One kind permission visual configuration control method, device, terminal and storage medium in information system |
CN110443010B (en) * | 2019-07-22 | 2022-05-03 | 安徽智恒信科技股份有限公司 | Authority visual configuration control method, device, terminal and storage medium in information system |
CN110378099A (en) * | 2019-07-23 | 2019-10-25 | 浪潮云信息技术有限公司 | A kind of menu authorization method |
CN110535774A (en) * | 2019-07-24 | 2019-12-03 | 平安科技(深圳)有限公司 | Dynamic routing processing method, device, computer equipment and storage medium |
CN110502712A (en) * | 2019-08-09 | 2019-11-26 | 广东浪潮大数据研究有限公司 | A kind of web menu generation method, device and server |
CN110502912A (en) * | 2019-08-19 | 2019-11-26 | 四川长虹电器股份有限公司 | A kind of front end permission route control method |
CN110493239A (en) * | 2019-08-26 | 2019-11-22 | 京东数字科技控股有限公司 | The method and apparatus of authentication |
CN110601886A (en) * | 2019-09-02 | 2019-12-20 | 深圳市丰润达科技有限公司 | Method and device for configuring master and slave ends of network bridge based on terminal and readable storage medium |
CN110601886B (en) * | 2019-09-02 | 2022-06-21 | 深圳市丰润达科技有限公司 | Method and device for configuring master and slave ends of network bridge based on terminal and readable storage medium |
CN110955872A (en) * | 2019-12-12 | 2020-04-03 | 北京金山云科技有限公司 | Authority control method, device, terminal and medium |
CN111181941A (en) * | 2019-12-23 | 2020-05-19 | 杭州安恒信息技术股份有限公司 | Page login method, system and related device |
CN111181941B (en) * | 2019-12-23 | 2022-07-05 | 杭州安恒信息技术股份有限公司 | Page login method, system and related device |
CN111459566A (en) * | 2020-03-10 | 2020-07-28 | 中国平安人寿保险股份有限公司 | Authority verification-based route loading method and related equipment |
CN111835646B (en) * | 2020-07-13 | 2021-03-16 | 四川虹魔方网络科技有限公司 | Vue-based modular routing management method and authority control method |
CN111835646A (en) * | 2020-07-13 | 2020-10-27 | 四川虹魔方网络科技有限公司 | Vue-based modular routing management method and authority control method |
CN112035207A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Page menu dynamic loading method and device based on database |
CN112231658A (en) * | 2020-09-23 | 2021-01-15 | 傲普(上海)新能源有限公司 | VUE-based ERP dynamic authority control method |
CN112367260A (en) * | 2020-10-13 | 2021-02-12 | 华帝股份有限公司 | Method, system, electronic device and medium for authority management based on dynamic routing |
CN112257091A (en) * | 2020-10-28 | 2021-01-22 | 南开大学 | Authority control method based on front-end and back-end separation |
CN112269971A (en) * | 2020-11-10 | 2021-01-26 | 电子科技大学 | Authority organization structure and authority management method for large software |
CN112487407A (en) * | 2020-12-01 | 2021-03-12 | 广州奇享科技有限公司 | Authority control method, device, medium and electronic equipment |
CN113342340A (en) * | 2021-05-31 | 2021-09-03 | 北京达佳互联信息技术有限公司 | Component rendering method and device |
CN113312049A (en) * | 2021-06-11 | 2021-08-27 | 浪潮云信息技术股份公司 | Front-end dynamic routing implementation method |
CN113568541A (en) * | 2021-08-09 | 2021-10-29 | 豆盟(北京)科技股份有限公司 | Page function determination method and device, electronic equipment and storage medium |
CN113656724A (en) * | 2021-10-20 | 2021-11-16 | 深圳市信润富联数字科技有限公司 | Method and system for dynamically configuring webpage function based on web page |
CN115686683B (en) * | 2022-11-21 | 2023-09-08 | 广东保伦电子股份有限公司 | Menu navigation dynamic generation method, device, equipment and medium |
CN115686683A (en) * | 2022-11-21 | 2023-02-03 | 广州市保伦电子有限公司 | Menu navigation dynamic generation method, device, equipment and medium |
CN115865436A (en) * | 2022-11-22 | 2023-03-28 | 平安银行股份有限公司 | Multi-application multi-page authority management method and device and computer equipment |
CN115865436B (en) * | 2022-11-22 | 2024-04-12 | 平安银行股份有限公司 | Multi-application multi-page authority management method and device and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109784033A (en) | Operating right Dynamic Configuration and relevant device based on page menus | |
KR102444106B1 (en) | Calling external functions from the data warehouse | |
US9805209B2 (en) | Systems and methodologies for managing document access permissions | |
KR102508177B1 (en) | Credentialless external stage for database integration | |
CN109977690A (en) | A kind of data processing method, device and medium | |
US10855688B2 (en) | Multi-tenant security in the cloud | |
US11132436B2 (en) | FPGA cloud host development method and system | |
US11580239B2 (en) | Controlling access to cloud resources in data using cloud-enabled data tagging and a dynamic access control policy engine | |
KR102124499B1 (en) | Method, apparatus and computer-readable medium of providing application service based on cloud service | |
US8239880B1 (en) | Orchestrating flow of event information to several event handling components | |
US11811773B2 (en) | Providing access to content within a computing environment | |
WO2008154032A1 (en) | Secure hosted databases | |
CN113508383B (en) | Container-centric access control on database objects | |
US11126460B2 (en) | Limiting folder and link sharing | |
US10262155B1 (en) | Disabling features using feature toggle | |
EP4277239A1 (en) | Cloud platform and bucket management method for object storage service provided thereby | |
CN109587233A (en) | Cloudy Container Management method, equipment and computer readable storage medium | |
US20210014206A1 (en) | Searching content associated with multiple applications | |
US20220229657A1 (en) | Extensible resource compliance management | |
CN110971646A (en) | Cluster control device, system and method | |
US10776180B1 (en) | Expression-based feature toggle in an application programming interface (API) | |
Al-Khafaji et al. | Secured environment for cloud integrated fog and mist architecture | |
US8667509B1 (en) | Providing context information for events to an event handling component | |
US8763015B1 (en) | Efficient multi-node system for providing event information to event handling components | |
US11734451B1 (en) | Secure continuous compliance enforcement on a data exchange system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |