Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Permission control method and device

A technology of authority control and attributes, which is applied in the field of web system role management, can solve the problems of insufficient control granularity and poor role scalability, and achieve the effect of increasing user roles, facilitating user roles, and good role scalability

Pending Publication Date: 2019-04-19
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, the present invention provides a method and device for authority control, in order to solve the problem that the existing authority control method has poor role scalability and the control granularity is not fine enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Permission control method and device
  • Permission control method and device
  • Permission control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] In order to solve the problem of poor role scalability and insufficient control granularity in the existing permission control method, the embodiment of the present invention provides a permission control method, such as figure 1 As shown, the method includes:

[0052] 101. Obtain an identity identifier corresponding to the user.

[0053] In a web system, it is usually necessary to provide different control permissions for ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a permission control method and device, relates to the technical field of web system role management, and aims at solving the problems that an existing permission control modeis poor in role expandability and not fine enough in control granularity. The method comprises the following steps: after a user logs in a web system, obtaining an identity identifier corresponding tothe user; Traversing all the page tags, and selecting the page tag with the authority control attribute to determine as a target tag; Analyzing the authority control attribute of the target tag, andobtaining the value of a sub-attribute contained in the authority control attribute, the sub-attribute at least containing the product identifier, the resource code and the action code corresponding to the page tag; Comparing the value of the sub-attribute corresponding to the identity label with the value of the sub-attribute contained in the target label authority control attribute; And settingthe display attribute of the target tag according to the comparison result so as to realize authority control of the page tag. The method and the device are suitable for being applied to the web front-end authority control process.

Description

technical field [0001] The invention relates to the technical field of web system role management, in particular to a method and device for authority control. Background technique [0002] In large and medium-sized web front-end systems, user permission control is usually required. Role-based authority control can be used for user authority control. Specifically, users are divided into different roles according to user identity information, and different roles are assigned different resources, and then different role authorizations are performed. [0003] Existing user access control technology usually sets a system into several fixed roles, assigns different role values ​​in the database design according to different roles, and obtains all role values ​​in the database after the user logs in. Compare the values ​​corresponding to the user respectively, then associate the user with a certain role, and display the corresponding elements to the current user according to the v...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/31G06F21/60G06F21/62
CPCG06F21/31G06F21/604G06F21/6218G06F2221/2141
Inventor 杜志娟
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products