Permission management method, electronic device, storage medium and computer program product
By configuring the role configuration window in the background to configure permission rules for the data calling system, it solves the problems of low efficiency and high cost of permission management in the existing technology, realizes efficient and low-cost permission management in scenarios such as decoration, and adapts to work roles. Frequently changing requirements.
Patent Information
- Application Number
- CN202410790089.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-03
AI Technical Summary
In scenarios where roles and permissions change frequently, the existing permission management system has low iteration efficiency, high maintenance costs, and lacks a unified and stable role permission management method, making it difficult to adapt to the needs of scenarios with long work cycles such as decoration.
By configuring the role configuration window in the background, configure the permission rules of the work role for the data calling system, determine the reading range according to the work role of the target user, extract the corresponding data in the job database, and provide a visual configuration channel to update the permission configuration items in a timely manner , to avoid the tedious process of hard coding.
It achieves convenient, efficient, and low-cost permission management, adapts to the changing needs of work roles in long work cycles, improves the efficiency and stability of permission configuration, and reduces maintenance costs.
Smart Images

Figure CN118585979A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a permission management method, electronic device, storage medium and computer program product. Background Art
[0002] In the long operation cycle of the decoration scene, it is necessary to support the work of front-line site workers such as designers and cleaners, and to support the supervision of managers with multi-dimensional perspectives such as city store managers and project managers, so it involves complicated work roles. In addition, with the iteration of the business, the business side also adjusts the work responsibilities of each role and adds and deletes roles in different places, which puts pressure on the maintenance of role permissions for various data.
[0003] In the related art, the permission management system adopts a static role permission allocation method, that is, the roles and permissions are pre-defined, and then the permission allocation for each role is implemented through hard coding. However, the aforementioned permission allocation method is not suitable for scenarios such as frequent changes in roles and permissions. Especially in decoration scenarios, roles and their permissions change relatively frequently. If the role and permission range are adjusted by hard coding, the iteration efficiency is low and the maintenance cost is high. At the same time, there is no unified and stable role permission management method, which is not practical. Summary of the invention
[0004] In order to solve at least one of the aforementioned problems, the present disclosure provides a permission management method, an electronic device, a storage medium, and a computer program product.
[0005] According to one aspect of the present disclosure, a method for managing permissions is provided, including: configuring permission rules for any work role for a data call system by configuring a background role configuration window; determining a read range of the target user according to the permission rules corresponding to the work role of the target user; and extracting job data corresponding to the read range in a job database, and feeding back the job data to the target user.
[0006] In some embodiments, the permission rules for any work role are configured for the data call system through the role configuration window of the configuration background, including: in response to new role information about any of the work roles from the business end, adding a permission configuration item in the role configuration window, and configuring the permission rules about the work role in the permission configuration item; or in response to permission change information about any of the work roles from the business end, calling the permission configuration item about the work role in the role configuration window, and updating the permission rules in the permission configuration item.
[0007] In some embodiments, the reading scope of the target user is determined based on the permission rules corresponding to the target user's work role, including: when the target user's work role is a first-category role, parsing the local variable rules in combination with the user code of the target user, obtaining at least one data identifier associated with the user code in the local cache of the data call system, and using it as the reading scope.
[0008] In some embodiments, the reading scope of the target user is determined based on the permission rules corresponding to the target user's work role, including: when the target user's work role is a second-category role, local constant rules are parsed in combination with the work role, and multiple data identifiers associated with the work role are obtained in the local cache of the data call system, and used as the reading scope.
[0009] In some embodiments, the reading scope of the target user is determined based on the permission rules corresponding to the target user's work role, including: when the target user's work role is a third-category role, the remote matching rules are parsed in combination with the target user's user code and the work role to at least obtain a resource retrieval path, data transmission protocol mode and responsibility parameters suitable for the target user, and encapsulate them into a resource reading package; in response to the resource reading package, trace back to the target service system along the resource retrieval path, and read the structured identifier corresponding to the responsibility parameter in the target service system; and call the format parsing engine to parse the structured identifier to obtain multiple data identifiers associated with the target user, and use them as the reading range.
[0010] In some embodiments, extracting the job data corresponding to the read range from the job database and feeding back the job data to the target user includes: converting multiple data identifiers in the read range into a target format suitable for a screening engine, and obtaining multiple structured screening parameters representing the corresponding data identifiers; extracting at least one target screening parameter from the multiple structured screening parameters according to the business screening conditions of the target user; and in response to at least one target screening parameter, retrieving the job data corresponding to each target screening parameter from the job database, and feeding back the job data to the target user.
[0011] In some embodiments, before configuring the permission rules for any work role for the data call system through the role configuration window of the configuration background, it includes: deploying the role configuration window in the configuration background of the data call system to provide the data call system with a visual configuration channel for any work role and its permission rules.
[0012] According to another aspect of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the permission management method as described in any of the above embodiments is implemented.
[0013] According to another aspect of the present disclosure, a readable storage medium is provided, wherein the readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the permission management method as described in any of the above embodiments.
[0014] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the method for managing permissions as described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0016] Figure 1 The present invention is a diagram of an architecture of a method for managing permissions according to an exemplary embodiment of the present invention.
[0017] Figure 2 The figure is a data interaction diagram of an exemplary embodiment of the present disclosure.
[0018] Figure 3 The figure is a schematic diagram of the role-rule correspondence relationship according to an exemplary embodiment of the present disclosure.
[0019] Figure 4 The present invention is a flowchart of a method for managing permissions according to an exemplary embodiment of the present invention.
[0020] Figure 5 A block diagram of a permission management device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.
[0022] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present disclosure.
[0024] The terms used herein are for the purpose of describing specific embodiments, rather than being restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values and / or the values provided that will be recognized by those of ordinary skill in the art.
[0025] In scenarios such as decoration where the operation cycle is long and the work roles are complex, as the work progresses, it involves the addition and deletion of multiple work roles and the change of permissions of each work role. Moreover, these changes are personalized and difficult to predict, and it is impossible to pre-configure all roles and corresponding permissions. Therefore, it is necessary to propose a convenient, efficient, and low-cost configuration scheme, and determine the appropriate permission management method in combination with the configured scheme.
[0026] Figure 1 This is an architectural diagram of a method for managing permissions according to an exemplary embodiment of the present disclosure; Figure 2 This is a schematic diagram of data interaction in an exemplary embodiment of the present disclosure. Figure 1 and Figure 2 The permission management method proposed in the present disclosure is described, and the method satisfies the aforementioned permission management requirements to the greatest extent.
[0027] The data call system is used to provide the logged-in user with the job data within the scope of his or her authority. Therefore, when a user logs in to the data call system, the user is used as the target user. Usually, the target user's account information will record the user's work role and user code. The user code is used to represent the identity credentials of the target user, and each user corresponds to a unique user code. In addition, the target user can propose business screening conditions to limit the screening scope of the job data. Business screening conditions can be, for example, time conditions, job object attribute conditions, etc., such as filtering job data within a certain time range; filtering the renovation house job data of the owner between the ages of 20 and 40, etc. When the target user triggers the data call system, his or her work role and user code will be automatically uploaded. At the same time, the business screening conditions can be submitted together according to actual needs to provide a basis for the authority identification and data retrieval of the data call system.
[0028] Furthermore, according to the target user's job role, a permission rule suitable for the job role is matched for the target user. Figure 3 FIG. 1 is a schematic diagram of the role rule correspondence relationship in an exemplary embodiment of the present disclosure. Figure 3 As shown, the target users' work roles are divided into at least three categories: first-category roles, second-category roles, and third-category roles.
[0029] The first type of roles can be front-line service providers such as quality control personnel and designers. They usually only have the need to view their own construction site work orders, so they are matched with the permission of "viewing their own data" to avoid data leakage. Specifically, different target users in the first type of roles correspond to different work orders, so it is necessary to dynamically find the corresponding data identifier in the local cache according to their user code. For example, user 1 and user 2, who are both designers, manage house 1 and house 2 respectively. The work orders corresponding to house 1 and house 2 are different, and the data identifiers of the work orders are also different. Therefore, it is necessary to dynamically select data identifiers for them according to the user's personalized information. The aforementioned method of dynamically matching data identifiers according to user codes is the local variable rule.
[0030] The second type of role may be, for example, a brand administrator of a certain brand, who has the need to understand and manage the corresponding brand, so he will be configured with the permission to view all work orders of the brand. Specifically, when pushing work orders to target users in the second type of role, the user's personalized characteristics will not be considered. In other words, no matter who serves as the administrator of the brand, their reading permissions are the same. For example, when user 3 serves as the administrator of brand A, the work orders corresponding to brand A are work orders a to work orders d. Then when user 4 serves as the administrator of the brand, the work orders that can be viewed are also work orders a to work orders d. Obviously, the scope of permissions corresponding to the second type of role depends entirely on the work role itself. When a user's role is identified as a second type of role, multiple fixed data identifiers associated with the role are directly extracted from the local cache. This type of permission range allocation rule is defined as a local constant rule.
[0031] According to the responsibility parameters, the third type of role is divided into at least two sub-categories, namely, the third type of role A and the third type of role B. The responsibility parameters of the third type of role A can be engineering manager. In this case, the target user has the need to manage the work status of all members in the corresponding organization, so the user is given the permission to view all employee orders organized into organizations; the responsibility parameters of the third type of role B can be regional manager. The target user has the need to manage all operations in a certain area. For example, the city manager needs to manage all work orders in the corresponding city, so the user is given the permission to view all work orders in the area. However, regardless of the corresponding responsibility parameters, the third type of role involves a large amount of dynamic work data, and the locally cached content is difficult to meet its viewing needs. It is necessary to remotely call a third-party service system based on the specific work role and user code to obtain the corresponding data identifier in a personalized manner. This rule for determining the scope of authority is defined as a remote matching rule.
[0032] Specifically, the implementation process of the remote matching rule is: first, according to the target user's work role and user code, the resource retrieval path, data transmission protocol, and responsibility parameters in the remote matching rule corresponding to the user are parsed. In the third type of role, different work roles may correspond to different role subclasses, and different user codes will also correspond to different permission ranges. Therefore, each target user in this type of role corresponds to a different remote matching rule. This rule contains the target service system corresponding to the data identifier required by the user, and the resource retrieval path URL from the data call system to the corresponding target service system. The data transmission protocol method refers to the request method for reading the corresponding data identifier in the target service system. The data transmission protocol HTTP supports multiple methods. When configuring the rules, it can be specified according to the needs, and there is no restriction here. The responsibility parameter is used to indicate the work role of the target user. Different responsibility parameters correspond to different read permissions. Only when the responsibility parameters match the target service system, the reading and transmission of the data identifier will be triggered. The data parsed from the remote matching rule is encapsulated into a resource reading package, and then located along the resource retrieval path in the resource reading package to the target service system to extract the structured identifier in the system, where the number of target service systems is not limited and can be multiple. The structured identifier is a data identifier that is adapted to the data format of the target service system. Different service systems support different data formats. The present disclosure uses a structure parsing engine to parse the formatted identifiers of each service system to obtain the data identifier required by the target user. The aforementioned process realizes the remote retrieval process of the corresponding data identifier, and does not limit the data format returned by the remote call, which is universal.
[0033] Of course, during the remote matching process, if the structured identifier representing the data representation is not retrieved in the target service system, there may be a problem in the role and rule matching process, or there may be a problem in the rule configuration process, and there may be other retrieval problems, which are not listed here. In short, if the appropriate structured identifier is not extracted, an empty data exception package will be generated to inform the user of the reading exception and stop the subsequent identifier conversion and retrieval operations, reducing the processing cost of the exception package.
[0034] Furthermore, after obtaining the data identifiers corresponding to the target users, it is necessary to convert the data identifiers into a format that satisfies the structured screening parameters of the screening engine. The screening engine may be an ES (Elasticsearch, distributed full-text search) engine, and the data identifiers will be converted into a format that is suitable for ES to facilitate retrieval in the job database.
[0035] If the target user submits business screening conditions, the data that does not meet the business screening conditions will be cleaned out from the aforementioned structured screening parameters based on the business screening conditions, and the data that remains will be the target screening parameters.
[0036] Further, the filtering engine is called to retrieve the job data corresponding to the target filtering parameters in the job database, and the job data may be single or multiple. It should be noted that the job data is the specific information that the target user needs to read, such as a designer reading a design work order containing his design drawings.
[0037] Combination Figure 2 , the data call system includes a login terminal, a business terminal, a configuration background, a local cache, a job database, a screening engine, a format parsing engine, etc. The aforementioned permission management method can be implemented through the data call system. The specific process of calling job data can refer to the aforementioned and will not be repeated here. However, the implementation of job data calling is based on complete and timely updated roles and permission rules. Therefore, the manager will monitor the role changes and permission rule changes on the business side in real time, and update or add the corresponding permission configuration items in a timely manner through the role configuration window of the configuration background to respond to changes in various permission rules and various work roles.
[0038] The data call system will configure corresponding permission configuration items for each work role according to the needs of the job, such as permission configuration items 1 to m, and the value of m is not limited. During the operation, each new work role can rebuild a permission configuration item, such as permission configuration item m+1. Through the role configuration window, the visual configuration of roles and corresponding permission rules is realized, which facilitates the timely adjustment of the permission rules of existing roles and the addition of new permission configuration items, avoiding the tedious process of rewriting programs and repeatedly going online in the traditional hard-coding process. By configuring the background role configuration window, the activation efficiency of each permission configuration item can be improved.
[0039] Figure 4 This is a flowchart of a method for managing permissions according to an exemplary embodiment of the present disclosure. Figure 4 , the specific implementation process of the aforementioned permission management method M100 is explained.
[0040] Step S102, configuring the permission rules for any work role for the data call system by configuring the role configuration window in the background.
[0041] Specifically, in response to new role information about any work role from the business end, a permission configuration item is added to the role configuration window, and permission rules about the work role are configured in the permission configuration item; or in response to permission change information about any work role from the business end, the permission configuration item about the work role is retrieved in the role configuration window, and the permission rules in the permission configuration item are updated.
[0042] Permission rules include the job data reading scope corresponding to any work role, as well as the method of obtaining the data identifier of the job data within the reading scope. Different work roles have different permission rules, so you need to configure corresponding permission rules for each work role.
[0043] Step S104: determining the read scope of the target user according to the permission rules corresponding to the work role of the target user.
[0044] The read scope represents the target user's read permission for the job data, usually in the form of data identifiers. For example, if the read scope corresponding to a designer is all the design work orders he has designed, then the read scope is the collection of data identifiers of all the work orders involved.
[0045] Depending on the role category of the work role, the method of obtaining the data identifier within its reading range is also different. Specifically, when the work role of the target user is a first-category role, the local variable rules are parsed in combination with the user code of the target user, and at least one data identifier associated with the user code is obtained in the local cache of the data call system, and is used as the reading range. When the work role of the target user is a second-category role, the local constant rules are parsed in combination with the work role, and multiple data identifiers associated with the work role are obtained in the local cache of the data call system, and are used as the reading range.
[0046] However, when the target user's work role is a third-category role, a remote call needs to be performed. The implementation method is: when the target user's work role is a third-category role, the remote matching rules are parsed in combination with the target user's user code and work role, and at least the resource retrieval path, data transmission protocol mode and responsibility parameters suitable for the target user are obtained, and encapsulated into a resource reading package; in response to the resource reading package, the resource retrieval path is traced back to the target service system, and the structured identifier corresponding to the responsibility parameter is read in the target service system; and the format parsing engine is called to parse the structured identifier, and multiple data identifiers associated with the target user are obtained, and used as the reading range.
[0047] Step S106, extracting the operation data corresponding to the reading range from the operation database, and feeding back the operation data to the target user.
[0048] Specifically, multiple data identifiers in the reading range are respectively converted into a target format suitable for the screening engine to obtain multiple structured screening parameters representing the corresponding data identifiers; according to the business screening conditions of the target user, at least one target screening parameter is extracted from the multiple structured screening parameters; and in response to at least one target screening parameter, the job data corresponding to each target screening parameter is retrieved from the job database, and the job data is fed back to the target user.
[0049] In some implementations, before step S102, the process includes: deploying a role configuration window in the configuration background of the data call system to provide the data call system with a visual configuration channel for any work role and its permission rules. The manager configures various work roles and corresponding permission rules required for the job in real time through the role configuration window. Each work role corresponds to a unique permission configuration item. When permission is updated or a role is added, the corresponding permission configuration item can be directly adjusted, avoiding the cumbersome process and high cost of hard coding.
[0050] The disclosed permission management method realizes the conversion of various formats of data identifiers fed back by the third-party service system by adding a format parsing engine, so that the method is compatible with multiple formats during remote calls, and improves universality. By setting up a role configuration window, the purpose of visual configuration and timely application of roles and permission rules is achieved, avoiding the high cost and low efficiency of building work roles through hard coding, and meeting the needs for changes in permission rules and work roles in long operation cycle scenarios.
[0051] Figure 5 A block diagram of a permission management device according to an exemplary embodiment of the present disclosure.
[0052] refer to Figure 5 The present disclosure provides a permission management device 1000, including: a configuration module 1002, used to configure permission rules for any work role for a data call system through a role configuration window of a configuration background; a matching module 1004, used to determine the read range of a target user according to the permission rules corresponding to the work role of the target user; and a retrieval module 1006, used to extract job data corresponding to the read range in a job database and feed the job data back to the target user.
[0053] The various modules of the permission management device 1000 are arranged to implement the various steps of the permission management method. The execution steps and principles thereof can be referred to above and will not be described in detail.
[0054] The device 1000 may include corresponding modules for executing each or several steps in the above flowchart. Therefore, each step or several steps in the above flowchart may be executed by the corresponding module, and the device may include one or more modules in these modules. The module may be one or more hardware modules specially configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.
[0055] The hardware structure can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.
[0056] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.
[0057] Any process or method description in the flowchart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the present disclosure. The processor performs the various methods and processes described above. For example, the method implementation in the present disclosure can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).
[0058] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions on an instruction execution system, apparatus, or device), or in combination with such instruction execution systems, apparatuses, or devices.
[0059] For the purposes of this specification, a "readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a memory.
[0060] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0061] A person skilled in the art will appreciate that all or part of the steps of the above-mentioned implementation method can be completed by instructing the relevant hardware through a program. The program can be stored in a readable storage medium. When the program is executed, it includes one or a combination of the steps of the implementation method.
[0062] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.
[0063] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A method for managing permissions, characterized in that: include: Configure the permission rules for any work role for the data call system by configuring the role configuration window in the background; Determine the read scope of the target user according to the permission rules corresponding to the target user's work role; as well as The operation data corresponding to the reading range is extracted from the operation database, and the operation data is fed back to the target user.
2. The method for managing permissions according to claim 1, characterized in that: The configuration of the role configuration window in the background to configure the permission rules for any work role for the data call system includes: In response to newly added role information about any of the work roles at the business end, adding a permission configuration item in the role configuration window, and configuring the permission rule about the work role in the permission configuration item; or In response to the permission change information of any of the work roles on the business end, the permission configuration item of the work role is retrieved in the role configuration window, and the permission rule in the permission configuration item is updated.
3. The method for managing permissions according to claim 1, characterized in that: Determining the read scope of the target user according to the permission rules corresponding to the work role of the target user includes: When the target user's work role is a first-class role, the local variable rule is parsed in combination with the target user's user code, and at least one data identifier associated with the user code is obtained in the local cache of the data calling system and used as the reading range.
4. The method for managing permissions according to claim 1 or 3, characterized in that: Determining the read scope of the target user according to the permission rules corresponding to the work role of the target user includes: When the target user's work role is a second-category role, the local constant rule is parsed in combination with the work role, and multiple data identifiers associated with the work role are obtained in the local cache of the data calling system and used as the reading range.
5. The method for managing permissions according to any one of claim 4, characterized in that: Determining the read scope of the target user according to the permission rules corresponding to the work role of the target user includes: When the target user's work role is a third type role, the remote matching rule is parsed in combination with the target user's user code and the work role to obtain at least a resource retrieval path, a data transmission protocol mode, and responsibility parameters suitable for the target user, and encapsulate them into a resource reading package; In response to the resource reading packet, tracing back to a target service system along the resource calling path, and reading a structured identifier corresponding to the responsibility parameter in the target service system; and A format parsing engine is called to parse the structured identifier, and a plurality of data identifiers associated with the target user are obtained, and the plurality of data identifiers are used as the reading range.
6. The method for managing permissions according to claim 1, characterized in that: The extracting the operation data corresponding to the reading range from the operation database and feeding back the operation data to the target user includes: Converting the multiple data identifiers in the read range into target formats suitable for the screening engine, respectively, to obtain multiple structured screening parameters representing the corresponding data identifiers; According to the business screening condition of the target user, extracting at least one target screening parameter from the plurality of structured screening parameters; and In response to at least one of the target screening parameters, the job data corresponding to each of the target screening parameters is retrieved from the job database, and the job data is fed back to the target user.
7. The method for managing permissions according to claim 1, characterized in that: Before configuring the permission rules for any work role for the data call system through the role configuration window of the configuration background, including: The role configuration window is deployed in the configuration background of the data calling system to provide the data calling system with a visual configuration channel for any of the work roles and their permission rules.
8. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for managing permissions as claimed in any one of claims 1 to 7 is implemented.
9. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the permission management method according to any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method for managing permissions described in any one of claims 1 to 7 is implemented.
