CN114417311A - Role authority management method and device, computer equipment and storage medium - Google Patents

Role authority management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114417311A
CN114417311A CN202111497036.1A CN202111497036A CN114417311A CN 114417311 A CN114417311 A CN 114417311A CN 202111497036 A CN202111497036 A CN 202111497036A CN 114417311 A CN114417311 A CN 114417311A
Authority
CN
China
Prior art keywords
role
authority
information
management
user
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
Application number
CN202111497036.1A
Other languages
Chinese (zh)
Inventor
时小鸿
何旭洋
杨远铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Fengxing Trend Technology Co ltd
Original Assignee
Shenzhen Fengxing Trend Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Fengxing Trend Technology Co ltd filed Critical Shenzhen Fengxing Trend Technology Co ltd
Priority to CN202111497036.1A priority Critical patent/CN114417311A/en
Publication of CN114417311A publication Critical patent/CN114417311A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to a permission management technology, and provides a role permission management method, a role permission management device, a computer device and a storage medium, wherein the method comprises the following steps: receiving login information of a user, logging in according to the login information and acquiring a user account of the user; determining the role of the user according to the user account, and acquiring the corresponding role authority according to the role; displaying a plurality of authority management plates according to the role authority, wherein each authority management plate comprises at least one management operation tool; the method comprises the steps of obtaining operation information of a user after the user operates through the management operation tool, displaying corresponding operation results according to the operation information, allocating corresponding roles to a user account, enabling each role to have corresponding authority, enabling the user to operate according to the corresponding role authority, enabling the user to be visual and convenient, achieving clear division of labor, and accurately controlling the authority of each role.

Description

Role authority management method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of rights management technologies, and in particular, to a role rights management method, apparatus, computer device, and storage medium.
Background
With the development of scientific and technological technology, more and more enterprises adopt management systems to manage internal personnel of the enterprises, for example, corresponding roles are allocated to all employees and corresponding permissions are authorized, but at present, when role management is carried out, data are filtered through an interface and then processed according to the permissions directly, so that role permissions cannot be controlled accurately, for example, the permissions of some roles are authorized, but the permissions cannot be found by users visually, and the permissions cannot be realized.
Disclosure of Invention
The invention mainly aims to provide a role authority management method, a role authority management device, computer equipment and a storage medium, and aims to solve the technical problem that role authority cannot be accurately controlled in the prior art.
Based on the above object, the present invention provides a role authority management method, including:
receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
determining the role of the user according to the user account, and acquiring the corresponding role authority according to the role;
displaying a plurality of authority management plates according to the role authority, wherein each authority management plate comprises at least one management operation tool;
and acquiring operation information of the user after the user operates through the management operation tool, and displaying a corresponding operation result according to the operation information.
Further, the role authority includes creating a temporary role, and the step of acquiring the operation information after the user operates through the management operation tool and displaying the corresponding operation result according to the operation information includes:
configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
and generating a corresponding temporary role according to the role information.
Further, before the step of receiving the login information of the user, the method includes:
determining a login type of the user account according to the login information to judge whether the login type of the user account is a preset login type, wherein the login type comprises a background end, a merchant end, an oil station end and a cash register end;
and if so, limiting the user account login.
Further, each role has a corresponding permission set, each permission set includes at least one permission, each permission corresponds to a management operation tool, and the step of displaying a plurality of permission management plates according to the role permissions includes:
judging whether the user account is a plurality of target roles at the same time;
if yes, determining one with the most authority from the target roles, and designating the target role as a first role;
acquiring authority information of all authorities of the first role, and endowing authorities of other roles except the first role according to the authority information so as to enable the authorities of the other roles except the first role to be consistent with the first role;
and displaying the corresponding management operation tool in the corresponding authority management plate according to the authority information.
Further, the permission management plates include data parameter plates, the data parameter plates corresponding to different roles are different, and the step of displaying a plurality of permission management plates according to the role permission includes:
and acquiring the identity information of the role, extracting target data matched with the body information from a preset menu page according to the identity information, and displaying the target data on the data parameter plate.
Further, when the identity information of the role is salesman information, the target data is sales performance improvement data, and when the identity information of the role is financial staff information, the target data is expense data of a business work order.
The present invention also provides a role authority management device, including:
the system comprises a receiving login unit, a processing unit and a processing unit, wherein the receiving login unit is used for receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
the role determining unit is used for determining the role of the user according to the user account and acquiring the corresponding role authority according to the role;
the display plate unit is used for displaying a plurality of authority management plates according to the role authority, and each authority management plate comprises at least one management operation tool;
and the display result unit is used for acquiring the operation information after the user operates through the management operation tool and displaying the corresponding operation result according to the operation information.
Further, the role authority includes creating a temporary role, and the display result unit includes:
the configuration role subunit is used for configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
and the role generation subunit is used for generating a corresponding temporary role according to the role information.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described role right management method.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned role right management method.
The invention has the beneficial effects that: corresponding roles are allocated to the user account, each role has corresponding authority, the user can operate according to the corresponding role authority, the operation is visual and convenient, the division of labor is clear, the authority of each role can be accurately controlled, and the maintenance is convenient.
Drawings
FIG. 1 is a diagram illustrating the steps of a role rights management method according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a role rights management device according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating the structure of a storage medium according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating the structure of a computer device in an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the role authority management method in this embodiment includes:
step S1: receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
step S2: determining the role of the user according to the user account, and acquiring the corresponding role authority according to the role;
step S3: displaying a plurality of authority management plates according to the role authority, wherein each authority management plate comprises at least one management operation tool;
step S4: and acquiring operation information of the user after the user operates through the management operation tool, and displaying a corresponding operation result according to the operation information.
The Role-Based Access Control method is realized through a Role-Based Access Control (Role-Based Access Control) system managed by a background, so that a user is associated with the authority through a Role, and the use authority of a specified function is obtained to assist in management and promotion of services. As described in the above step S1, the login information of the user is received, where the login information includes information such as a user id, a user account, a user name, and a login terminal, and then the user account of the user is logged in the role-based access control system according to the login information.
As described in step S2 above, each user account may be associated with at least one role, i.e., each user account corresponds to at least one role identity, such as finance, sales, developer, customer, etc. Each role has corresponding authority, for example, authority for inquiring specified data, authority for editing and deleting specified data and the like, and the corresponding role is determined through a user account, so that the authority corresponding to the role is obtained according to the role.
In another embodiment, the role permissions of each role are different, for example, the financial role a only has the permission to query the business work order cost data, and the financial role B has both the permission to query the business work order cost data and the permission to modify and edit the business work order cost data.
As described in step S3, the above display multiple rights management boards according to the role rights, where each rights management board includes at least one management operation tool, and specifically, the rights associated board includes at least a menu board, a function board, and a data parameter board, where the menu board includes user information such as a user account, a role identity, and a role right, and also includes function keys entering the function board, the data parameter board, and the like, and a function key for viewing user information, where the function keys of the related operation tool of the board are used to exercise, for the menu board, viewing rights and function operation rights for all authorized data under the menu bar once a user obtains authorization for a corresponding role. The function plate provides the user to perform the function operation, such as query, edit, delete, new creation and the like, the function operation level authority of the function plate is deeper than that of the menu plate, for the function plate, the users with different roles can enter the same menu page background to view the same data field information, but the executable function operations of the users may be different, for example, for u having a service work list page, the financial role can be modified and deleted, the sales role can only perform new creation operation, and each operation key in the function plate is the management operation tool. The data parameter tiles are used to display data relating to the identity of the character, for example, sales characters can view sales data through the data parameter tiles, and financial characters can view financial data through the data parameter tiles.
As the step S4, obtaining operation information after the user operates through the management operation tool, and displaying a corresponding operation result according to the operation information, where the user may operate through a related key, for example, by querying specified data, at this time, the user may query related data by clicking a query key on the function board, and the query key triggers the system to obtain the related data and display the data; or the user inputs related fields through the function board, clicks the query key to query, matches according to the related fields, and displays the matched information.
By distributing corresponding roles to the user account, each role has corresponding authority, the user can operate according to the corresponding role authority, the operation is visual and convenient, the division of labor is clear, the authority of each role can be accurately controlled, and the maintenance is convenient.
In one embodiment, the role authority includes creating a temporary role, and the step S4 includes:
step S41: configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
step S42: and generating a corresponding temporary role according to the role information.
In this embodiment, the role authority includes creating a temporary role, entering a creation page by clicking a key for creating the temporary role by a user, configuring corresponding role information including a temporary account, a role identity, a role authority and expiration time to obtain a corresponding configuration file, and then generating a corresponding temporary role according to the role information by the configuration file, that is, associating the temporary account with the corresponding temporary role, so that when logging in through the temporary account, the authority opened by the system is the authority corresponding to the temporary role.
The temporary roles are set for a particular group, such as a company having a particular access team, and some temporary identity is required for the particular customer to experience some functional operation. It is obviously not suitable to add the users to the organization structure of the department, general customers need to experience all operation authorities, and companies usually do not have ready-made fixed roles meeting the needs of the customers, so temporary roles need to be set for the customers, the maximum authority selection space of the temporary roles can be provided, meanwhile, the failure time can be set, and the access is failed after the expiration.
In one embodiment, before the step S1, the method includes:
step S01: determining a login type of the user account according to the login information to judge whether the login type of the user account is a preset login type, wherein the login type comprises a background end, a merchant end, an oil station end and a cash register end;
step S02: and if so, limiting the user account login.
In this embodiment, in order to improve security, login of a user account designated by a user account may be prohibited or permitted, and first, a login type of the user account is determined according to login information, where the login information includes information of a login end, and further, the login type of the user account is determined, where the login type includes a background end, a merchant end, a fuel station end, and a cash register end, so as to determine whether the login type is a preset login type, for example, to prohibit access of the user account through the merchant end, and when it is determined that the login type is the merchant end, to restrict login of the user account and prohibit access of the user account.
In one embodiment, each role has a corresponding set of permissions, each set of permissions includes at least one permission, each permission corresponds to a management operation tool, and the step S3 includes:
step S31: judging whether the user account is a plurality of target roles at the same time;
step S32: if yes, determining one with the most authority from the target roles, and designating the target role as a first role;
step S33: acquiring authority information of all authorities of the first role, and endowing authorities of other roles except the first role according to the authority information so as to enable the authorities of the other roles except the first role to be consistent with the first role;
step S34: and displaying the corresponding management operation tool in the corresponding authority management plate according to the authority information.
In this embodiment, each role has a corresponding authority set, each authority set includes at least one authority, for example, an inquiry authority for data a, an editing authority for data B, and the like, and corresponds to one management operation tool for each authority, specifically, it is first determined whether a user account is a plurality of target roles at the same time, if yes, a first role with the highest authority is determined from the plurality of target roles, authority information of the first role is acquired, then authorities of the other target roles of the user account are given, so that the authorities of the other target roles are consistent with the first role, and then the management operation tool corresponding to the authority is displayed in a corresponding authority management plate.
For example, the user account has A, B, C three roles, where the role a has the authority to query, edit, and create the service work order cost, the role B has the authority to query the service work order cost, and the role C has the authority to query and edit the service work order cost, and then the authority of the role a can be assigned to B, C two roles, so that the authority of the B, C two roles is consistent with the authority of the role a.
In another embodiment, all permissions of all target roles can be counted to obtain a total permission set, and then the permissions of the total permission set are given to all the target roles.
In one embodiment, the permission management slabs include data parameter slabs, and the data parameter slabs corresponding to different roles are different, where the step S3 includes:
step S34: and acquiring the identity information of the role, extracting target data matched with the body information from a preset menu page according to the identity information, and displaying the target data on the data parameter plate.
In this embodiment, the identity information includes information such as a user account, a name, a contact, a department, a position, and the like, the preset menu page may be a designated service page or a management page, and target data matched with the identity information may be extracted from the menu page according to the identity information, for example, when the identity information of a role is salesman information, the target data is sales performance promotion data, and when the identity information of the role is financial staff information, the target data is cost data of a service work order. The target data is then displayed in a data parameter plate.
Referring to fig. 2, in this embodiment, a role authority management apparatus is provided, where the apparatus corresponds to the role authority management method, and the apparatus includes:
the system comprises a receiving login unit 1, a processing unit and a processing unit, wherein the receiving login unit is used for receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
a role determining unit 2, configured to determine a role of the user according to the user account, and obtain a corresponding role right according to the role;
a display plate unit 3, configured to display a plurality of rights management plates according to the role rights, where each rights management plate includes at least one management operation tool;
and the display result unit 4 is used for acquiring the operation information after the user operates through the management operation tool and displaying the corresponding operation result according to the operation information.
The Role-Based Access Control (Role-Based Access Control) system managed by the background enables a user to be associated with the authority through the Role, so that the use authority of a specified function is obtained to assist in management and promotion of services. In the embodiment, the role-based access control system is applied to an oil station enterprise, and a user can log in through a background end, a business end, an oil station end and a cash register end, where the background end is a service background of the system, the business end is a terminal of a business company cooperating with the oil station enterprise, the oil station end is a terminal of the oil station, such as an oil station all-in-one machine, and the cash register end is a payment terminal.
As described above for the role determination unit 2, each user account may be associated with at least one role, that is, each user account corresponds to at least one role identity, such as finance, sales, research and development personnel, customer, and the like. Each role has corresponding authority, for example, authority for inquiring specified data, authority for editing and deleting specified data and the like, and the corresponding role is determined through a user account, so that the authority corresponding to the role is obtained according to the role.
In another embodiment, the role permissions of each role are different, for example, the financial role a only has the permission to query the business work order cost data, and the financial role B has both the permission to query the business work order cost data and the permission to modify and edit the business work order cost data.
As described in the foregoing display block unit 3, the plurality of right management blocks are displayed according to the authority of the role, each right management block includes at least one management operation tool, and specifically, the right associated block includes at least a menu block, a function block, and a data parameter block, the menu block includes user information such as a user account, a role identity, a role authority, and the like, and also includes function keys for entering the function block, the data parameter block, and the like, and a function key for viewing user information, at this time, the function keys are used as the associated operation tools of the block, and for the menu block, once the user obtains the authorization of the corresponding role, the user can exercise the viewing authority and the function operation authority for all data authorized under the menu bar. The function plate provides the user to perform the function operation, such as query, edit, delete, new creation and the like, the function operation level authority of the function plate is deeper than that of the menu plate, for the function plate, the users with different roles can enter the same menu page background to view the same data field information, but the executable function operations of the users may be different, for example, for u having a service work list page, the financial role can be modified and deleted, the sales role can only perform new creation operation, and each operation key in the function plate is the management operation tool. The data parameter tiles are used to display data relating to the identity of the character, for example, sales characters can view sales data through the data parameter tiles, and financial characters can view financial data through the data parameter tiles.
As the result displaying unit 4, the operation information after the user operates through the management operation tool is obtained, and the corresponding operation result is displayed according to the operation information, the user can operate through the relevant keys, for example, by inquiring the designated data, at this time, the user can inquire the relevant data by clicking the inquiry key on the function board, and the inquiry key triggers the system to obtain the relevant data and display the data; or the user inputs related fields through the function board, clicks the query key to query, matches according to the related fields, and displays the matched information.
By distributing corresponding roles to the user account, each role has corresponding authority, the user can operate according to the corresponding role authority, the operation is visual and convenient, the division of labor is clear, the authority of each role can be accurately controlled, and the maintenance is convenient.
In an embodiment, the role authority includes creating a temporary role, and the display result unit 4 includes:
the configuration role subunit is used for configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
and the role generation subunit is used for generating a corresponding temporary role according to the role information.
In this embodiment, the role authority includes creating a temporary role, entering a creation page by clicking a key for creating the temporary role by a user, configuring corresponding role information including a temporary account, a role identity, a role authority and expiration time to obtain a corresponding configuration file, and then generating a corresponding temporary role according to the role information by the configuration file, that is, associating the temporary account with the corresponding temporary role, so that when logging in through the temporary account, the authority opened by the system is the authority corresponding to the temporary role.
The temporary roles are set for a particular group, such as a company having a particular access team, and some temporary identity is required for the particular customer to experience some functional operation. It is obviously not suitable to add the users to the organization structure of the department, general customers need to experience all operation authorities, and companies usually do not have ready-made fixed roles meeting the needs of the customers, so temporary roles need to be set for the customers, the maximum authority selection space of the temporary roles can be provided, meanwhile, the failure time can be set, and the access is failed after the expiration.
In one embodiment, the above apparatus includes:
the type determining unit is used for determining the login type of the user account according to the login information so as to judge whether the login type of the user account is a preset login type, wherein the login type comprises a background end, a merchant end, an oil station end and a cash register end;
and the login limiting unit is used for limiting the login of the user account when the login type of the user account is a preset login type.
In this embodiment, in order to improve security, login of a user account designated by a user account may be prohibited or permitted, and first, a login type of the user account is determined according to login information, where the login information includes information of a login end, and further, the login type of the user account is determined, where the login type includes a background end, a merchant end, a fuel station end, and a cash register end, so as to determine whether the login type is a preset login type, for example, to prohibit access of the user account through the merchant end, and when it is determined that the login type is the merchant end, to restrict login of the user account and prohibit access of the user account.
In one embodiment, each role has a corresponding set of permissions, each set of permissions includes at least one permission, each permission corresponds to a management operation tool, and the display tile unit 3 includes:
the role judging subunit is used for judging whether the user account is simultaneously a plurality of target roles;
the permission determining subunit is used for determining one with the largest permission from the target roles to serve as a first role when the user account is judged to be the target roles simultaneously;
the permission giving subunit is used for acquiring permission information of all permissions of the first role and giving permissions of other roles except the first role according to the permission information so as to enable the permissions of the other roles except the first role to be consistent with the first role;
and the display tool subunit is used for displaying the corresponding management operation tool in the corresponding authority management plate according to the authority information.
In this embodiment, each role has a corresponding authority set, each authority set includes at least one authority, for example, an inquiry authority for data a, an editing authority for data B, and the like, and corresponds to one management operation tool for each authority, specifically, it is first determined whether a user account is a plurality of target roles at the same time, if yes, a first role with the highest authority is determined from the plurality of target roles, authority information of the first role is acquired, then authorities of the other target roles of the user account are given, so that the authorities of the other target roles are consistent with the first role, and then the management operation tool corresponding to the authority is displayed in a corresponding authority management plate.
For example, the user account has A, B, C three roles, where the role a has the authority to query, edit, and create the service work order cost, the role B has the authority to query the service work order cost, and the role C has the authority to query and edit the service work order cost, and then the authority of the role a can be assigned to B, C two roles, so that the authority of the B, C two roles is consistent with the authority of the role a.
In another embodiment, all permissions of all target roles can be counted to obtain a total permission set, and then the permissions of the total permission set are given to all the target roles.
In one embodiment, the permission management tile includes a data parameter tile, and the data parameter tiles corresponding to different roles are different, and the display tile unit 3 includes:
and the display data subunit is used for acquiring the identity information of the role, extracting target data matched with the body information from a preset menu page according to the identity information, and displaying the target data on the data parameter plate.
In this embodiment, the identity information includes information such as a user account, a name, a contact, a department, a position, and the like, the preset menu page may be a designated service page or a management page, and target data matched with the identity information may be extracted from the menu page according to the identity information, for example, when the identity information of a role is salesman information, the target data is sales performance promotion data, and when the identity information of the role is financial staff information, the target data is cost data of a service work order. The target data is then displayed in a data parameter plate.
Referring to fig. 3, the present application also provides a computer-readable storage medium 10, in which a computer program 20 is stored in the storage medium 10, and when the computer program runs on a computer, the computer is caused to execute the role authority management method described in the above embodiment.
Referring to fig. 4, the present application further provides a computer device 40 containing instructions, the computer device includes a memory 30 and a processor 50, the memory 30 stores a computer program 20, and the processor 30 executes the computer program 20 to implement the role right management method described in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for role rights management, comprising:
receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
determining the role of the user according to the user account, and acquiring the corresponding role authority according to the role;
displaying a plurality of authority management plates according to the role authority, wherein each authority management plate comprises at least one management operation tool;
and acquiring operation information of the user after the user operates through the management operation tool, and displaying a corresponding operation result according to the operation information.
2. The role authority management method according to claim 1, wherein the role authority includes creating a temporary role, and the step of acquiring operation information after the user operates through the management operation tool and displaying a corresponding operation result according to the operation information includes:
configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
and generating a corresponding temporary role according to the role information.
3. The method for managing role rights according to claim 1, wherein the step of receiving login information of a user is preceded by the steps of:
determining a login type of the user account according to the login information to judge whether the login type of the user account is a preset login type, wherein the login type comprises a background end, a merchant end, an oil station end and a cash register end;
and if so, limiting the user account login.
4. A method for managing role rights according to claim 1, wherein each role has a corresponding set of rights, each set of rights includes at least one right, each right corresponds to a management operation tool, and the step of displaying a plurality of rights management tiles according to the role rights comprises:
judging whether the user account is a plurality of target roles at the same time;
if yes, determining one with the most authority from the target roles, and designating the target role as a first role;
acquiring authority information of all authorities of the first role, and endowing authorities of other roles except the first role according to the authority information so as to enable the authorities of the other roles except the first role to be consistent with the first role;
and displaying the corresponding management operation tool in the corresponding authority management plate according to the authority information.
5. The method of claim 1, wherein the permission management blocks include data parameter blocks, the data parameter blocks corresponding to different roles are different, and the step of displaying the plurality of permission management blocks according to the role permission includes:
and acquiring the identity information of the role, extracting target data matched with the body information from a preset menu page according to the identity information, and displaying the target data on the data parameter plate.
6. The character authority management method according to claim 5, wherein the target data is sales performance improvement data when the identity information of the character is salesman information, and the target data is cost data of a business work order when the identity information of the character is financial staff information.
7. A character rights management apparatus, comprising:
the system comprises a receiving login unit, a processing unit and a processing unit, wherein the receiving login unit is used for receiving login information of a user, logging in according to the login information and acquiring a user account of the user;
the role determining unit is used for determining the role of the user according to the user account and acquiring the corresponding role authority according to the role;
the display plate unit is used for displaying a plurality of authority management plates according to the role authority, and each authority management plate comprises at least one management operation tool;
and the display result unit is used for acquiring the operation information after the user operates through the management operation tool and displaying the corresponding operation result according to the operation information.
8. The character authority management apparatus according to claim 7, wherein the character authority includes creating a temporary character, and the display result unit includes:
the configuration role subunit is used for configuring role information of a temporary role through the management operation tool, wherein the role information comprises a temporary account, a role identity, a role authority and failure time;
and the role generation subunit is used for generating a corresponding temporary role according to the role information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the character rights management method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the role rights management method according to any one of claims 1 to 6.
CN202111497036.1A 2021-12-08 2021-12-08 Role authority management method and device, computer equipment and storage medium Pending CN114417311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111497036.1A CN114417311A (en) 2021-12-08 2021-12-08 Role authority management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111497036.1A CN114417311A (en) 2021-12-08 2021-12-08 Role authority management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114417311A true CN114417311A (en) 2022-04-29

Family

ID=81266172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111497036.1A Pending CN114417311A (en) 2021-12-08 2021-12-08 Role authority management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114417311A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116962019A (en) * 2023-06-27 2023-10-27 北京一心向上科技有限公司 Temporary management method, system and storage medium for employee-side account

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116962019A (en) * 2023-06-27 2023-10-27 北京一心向上科技有限公司 Temporary management method, system and storage medium for employee-side account
CN116962019B (en) * 2023-06-27 2024-02-20 北京一心向上科技有限公司 Temporary management method, system and storage medium for employee-side account

Similar Documents

Publication Publication Date Title
CN107679749B (en) Authority application approval method and authorization management platform
US7496575B2 (en) Application instrumentation and monitoring
US8655712B2 (en) Identity management system and method
EP1625691B1 (en) System and method for electronic document security
US20070233600A1 (en) Identity management maturity system and method
US20110231364A1 (en) Id management method, id management system, and computer-readable recording medium
US20120240194A1 (en) Systems and Methods for Controlling Access to Electronic Data
KR102213465B1 (en) Apparatus and method for managing information security
CN112445392B (en) Organization authority processing method and device, electronic equipment and storage medium
CN111680310A (en) Authority control method and device, electronic equipment and storage medium
CN106156345B (en) Item file deposits card method, deposits card equipment and terminal device
JP2007299295A (en) Customer information registration system, application server and terminal device
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
KR101320515B1 (en) System and method for managing security policies to protect personal information in saas based services
CN114417311A (en) Role authority management method and device, computer equipment and storage medium
US20180349269A1 (en) Event triggered data retention
US20200153835A1 (en) Digital consent system and associated methods
CN117633837A (en) Data access processing method, device, system and storage medium
CN111475802B (en) Authority control method and device
CN113421052A (en) Data sharing management method, system and computer readable storage medium
JP7469399B2 (en) Management device, management method, and program
JP5341695B2 (en) Information processing system, information processing method, and program
JP2004054779A (en) Access right management system
JP2007226428A (en) Management system, management device and management program for authority of utilization
CN113626844A (en) User authority control method, system, computer equipment and storage medium

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