Authority control method and device, computer equipment and storage medium

A permission control and permission technology, applied in the field of data processing, can solve the problem of low processing efficiency
CN110290112AActive Publication Date: 2019-09-27PING AN TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
PING AN TECH (SHENZHEN) CO LTD
Publication Date
2019-09-27

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an authority control method and device, computer equipment and a storage medium. The method comprises the following steps: if an authority updating instruction is received, obtaining an address authority table, a role authority table and a to-be-updated authority data table; selecting a first corresponding relation from the address permission table, selecting a second corresponding relation from the role permission table, and performing equivalent correlation of permission types on the selected first corresponding relation and second corresponding relation in the address permission table and the role permission table to obtain a to-be-confirmed address and a corresponding to-be-confirmed role; updating the mapping relation in the authority data table according to the to-be-confirmed role and the to-be-confirmed address and the target identification information; and if the access request of the user to the target address is received, determining the access permission of the user to the target address according to the permission data table, and responding to the access request according to the access permission. According to the technical scheme, the processing efficiency of authority control is effectively improved, and meanwhile the optimization cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of data processing, in particular to an authority control method, device, computer equipment and storage medium. Background technique

[0002] In actual network applications, in order to prevent users from bypassing the restrictions of role permissions by directly entering the access address of the function in the browser without the role permission to access a certain function, it is often set to access Address access interception.

[0003] In the prior art, a role-permission relationship table is usually used to configure the correspondence between user roles and accessible addresses, and when accessing an access address is intercepted, it is judged according to the role-permission relationship table whether the user has access authority to the access address .

[0004] However, since user roles and accessible addresses can be one-to-one, one-to-many, many-to-one, many-to-many and other correspon...

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