CN108763882A - Authority setting method, device and storage medium - Google Patents
Authority setting method, device and storage medium Download PDFInfo
- Publication number
- CN108763882A CN108763882A CN201810562924.9A CN201810562924A CN108763882A CN 108763882 A CN108763882 A CN 108763882A CN 201810562924 A CN201810562924 A CN 201810562924A CN 108763882 A CN108763882 A CN 108763882A
- Authority
- CN
- China
- Prior art keywords
- priority assignation
- information
- user
- function point
- role
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Abstract
The invention discloses a kind of authority setting method, this method includes:The priority assignation instruction of user's triggering is received, and determines the account currently logged in;Determine the priority assignation grade of current account, and it is instructed according to the setting and shows permission configuration interface, the permission configuration interface includes user information input area and priority assignation region, the user information input area includes the input area of user information corresponding with priority assignation grade, and the priority assignation region includes Role Information and function point information input area;Receive the Role Information and/or function point information completion priority assignation that user information input by user and user are arranged in the priority assignation region.The invention also discloses a kind of priority assignation device and a kind of computer readable storage mediums.The present invention can solve the technical problem of priority assignation inconvenience in the prior art.
Description
Technical field
The present invention relates to a kind of software control field more particularly to authority setting method, device and storage mediums.
Background technology
With the development of computer technology, more and more people and company all utilize computer to run corresponding computer journey
Sequence handles affairs.For the safety of information, general each software has corresponding permission control function, especially for same soft
Part uses the more software of user.
Currently, the control of user right is generally uniformly configured by the administrator of software, corresponding number of users is bigger
System, then administrator need that its permission possessed individually is separately provided to each user, workload is bigger;In order to reduce pipe
Reason person's workload facilitates management quickly setting permission, and in the industry usually by the way that role is arranged, then administrator is when be arranged permission
It needs a certain user setting to be corresponding role, then the user can inherit permission all in role, although by the way that angle is arranged
Permission can be quickly arranged in the mode of color, but flexibility ratio is not high, for example, in many companies the people of same position or same role work
Making content may be different, thus its permission possessed is not fully identical.Therefore in order to reduce workload and ensure flexibility, lead to
The priority assignation of normal software is divided into two setting interfaces, and an interface can use the mode that role is arranged, another interface then needle
Each user is configured, has a disadvantage in that permission can not be arranged at same interface, it has not been convenient to operate.Simultaneously in the prior art
The setting of permission is only configured by administrator, and other users do not have priority assignation permission, are inconvenient to operate yet.
Invention content
The main purpose of the present invention is to provide a kind of authority setting method, device and storage mediums, it is intended to solve existing
The technical problem of priority assignation inconvenience in technology.
To achieve the above object, the present invention provides a kind of authority setting method, and the authority setting method includes following step
Suddenly:
The priority assignation instruction of user's triggering is received, and determines the account currently logged in;
It determines the priority assignation grade of current account, and is instructed according to the setting and show permission configuration interface, the power
Limit setting interface includes user information input area and priority assignation region, and the user information input area includes being set with permission
The input area of the corresponding user information of grade is set, the priority assignation region includes Role Information and function point information input area
Domain;
It receives user and inputs user information corresponding with the priority assignation grade of current account and user in the permission
The Role Information and/or function point information of setting area setting complete priority assignation.
Preferably, before the step of receiving the priority assignation instruction of user's triggering, further include:
It receives user and inputs Role Information and function point permission corresponding with Role Information, preserve into presetting database;
It determines the priority assignation grade of current account, and instructs the step of showing permission configuration interface to wrap according to the setting
It includes:
It determines the priority assignation grade of current account, and is instructed according to the setting, reading and saving is in the preset data
Role Information corresponding with current account priority assignation grade and function point information in library;
By the Role Information and function point presentation of information in the permission configuration interface.
Preferably, it receives user's input user information corresponding with the priority assignation grade of current account and user exists
The step of Role Information and/or function point information of priority assignation region setting complete priority assignation include:
Receiving user selects multiple user informations corresponding with the priority assignation grade of current account and user in the power
Limit at least Role Information and/or function point information of setting area setting;
By user the priority assignation regional choice an at least Role Information and/or the corresponding permission of function point information
It is set as the permission of user corresponding with multiple user informations.
Preferably, it is instructed according to the setting and shows permission configuration interface, the permission configuration interface includes user information
Input area and priority assignation region, the priority assignation region includes the steps that Role Information and function point information further includes:
It is instructed according to the setting and reads user information, Role Information and function point information from presetting database, and
User information input area shows user information corresponding with current account priority assignation grade, corresponding in priority assignation region
Position shows Role Information and function point information;
Receive the Role Information and/or function that user information input by user and user are arranged in the priority assignation region
Putting the step of information completes priority assignation includes:
Receive user the priority assignation regional choice Role Information and/or function point information, and by user in institute
It is use corresponding with user information to state the Role Information of priority assignation regional choice and/or the corresponding priority assignation of function point information
The permission at family.
Preferably, user information, Role Information and function point is read from presetting database according to setting instruction to believe
Breath, and show user information corresponding with current account priority assignation grade in user information input area, in priority assignation area
Corresponding position shows that the step of Role Information and function point information includes in domain:
It is instructed according to the setting and reads user information, Role Information and function point information from presetting database, and
User information input area shows user information corresponding with current account priority assignation grade according to preset rules, is set in permission
It sets corresponding position in region and shows Role Information and function point information.
Preferably, user information, Role Information and function point is read from presetting database according to setting instruction to believe
Breath, and in user information input area user information corresponding with current account priority assignation grade is shown according to preset rules,
Corresponding position shows that the step of Role Information and function point information includes in priority assignation region:
The letter sequence of first character shows user information in user information input area is according to the user information.
Preferably, user information, Role Information and function point is read from presetting database according to setting instruction to believe
Breath, and in user information input area user information corresponding with current account priority assignation grade is shown according to preset rules,
Corresponding position shows that the step of Role Information and function point information includes in priority assignation region:
In user information input area user information is shown according to the corresponding number sorting of the user information.
Preferably, the Role Information corresponds at least two function point permissions.
In addition, to achieve the above object, the present invention also provides a kind of priority assignation device, the priority assignation device packet
It includes:Memory, processor and it is stored in the priority assignation program that can be run on the memory and on the processor, it is described
The step of priority assignation program realizes authority setting method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Priority assignation program is stored on storage medium, the priority assignation program realizes permission as described above when being executed by processor
The step of setting method.
A kind of authority setting method that the embodiment of the present invention proposes, user can trigger priority assignation and instruct into corresponding
Permission configuration interface, the interface include user information input area and priority assignation region, the user information input area packet
The input area of user information corresponding with priority assignation grade is included, the priority assignation region includes Role Information and function point
Information input area, and the corresponding priority assignation grade of the login account is determined according to the account that user logs in, it is weighed in setting
In limited time, then can in same interface to system in user information select corresponding with priority assignation grade Role Information and/or
Function point information carries out priority assignation.In this way, multiple accounts setting priority assignation permission and priority assignation can be given
Grade, while user is not necessarily to carry out priority assignation operation from multiple interfaces, it is only necessary to can then it be arranged and oneself by an interface
The permission of other users under own account permission, therefore facilitate priority assignation, it ensure that flexibility and the convenience of priority assignation.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of authority setting method first embodiment of the present invention;
Fig. 3 is the display schematic diagram of permission configuration interface in the embodiment of the present invention;
Fig. 4 is the flow diagram of authority setting method second embodiment of the present invention;
Fig. 5 is the flow diagram of authority setting method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention can be PC, can also be smart mobile phone, tablet computer, pocket computer etc. have it is aobvious
Show the packaged type terminal device of function.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet
Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media
Believe module, Subscriber Interface Module SIM and priority assignation program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the priority assignation program stored in memory 1005, and execute following operation:
The priority assignation instruction of user's triggering is received, and determines the account currently logged in;
It determines the priority assignation grade of current account, and is instructed according to the setting and show permission configuration interface, the power
Limit setting interface includes user information input area and priority assignation region, and the user information input area includes being set with permission
The input area of the corresponding user information of grade is set, the priority assignation region includes Role Information and function point information input area
Domain;
It receives user and inputs user information corresponding with the priority assignation grade of current account and user in the permission
The Role Information and/or function point information of setting area setting complete priority assignation.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
Before the step of receiving the priority assignation instruction of user's triggering, further include:
It receives user and inputs Role Information and function point permission corresponding with Role Information, preserve into presetting database;
It determines the priority assignation grade of current account, and instructs the step of showing permission configuration interface to wrap according to the setting
It includes:
It determines the priority assignation grade of current account, and is instructed according to the setting, reading and saving is in the preset data
Role Information corresponding with current account priority assignation grade and function point information in library;
By the Role Information and function point presentation of information in the permission configuration interface.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
Receiving user selects multiple user informations corresponding with current account priority assignation grade and user in the permission
An at least Role Information and/or function point information for setting area setting;
By user the priority assignation regional choice an at least Role Information and/or the corresponding permission of function point information
It is set as the permission of user corresponding with multiple user informations.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
It is instructed according to the setting and reads user information, Role Information and function point information from presetting database, and
User information input area shows user information corresponding with current account priority assignation grade, corresponding in priority assignation region
Position shows Role Information and function point information;
Receive the Role Information and/or function that user information input by user and user are arranged in the priority assignation region
Putting the step of information completes priority assignation includes:
Receive user the priority assignation regional choice Role Information and/or function point information, and by user in institute
It is use corresponding with user information to state the Role Information of priority assignation regional choice and/or the corresponding priority assignation of function point information
The permission at family.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
It is instructed according to the setting and reads user information, Role Information and function point information from presetting database, and
User information input area shows user information corresponding with current account priority assignation grade according to preset rules, is set in permission
It sets corresponding position in region and shows Role Information and function point information.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
The letter sequence of first character shows user information in user information input area is according to the user information.
Further, processor 1001 can call the priority assignation program stored in memory 1005, also execute following
Operation:
In user information input area user information is shown according to the corresponding number sorting of the user information.
Further, the Role Information corresponds at least two function point permissions.
Based on above-mentioned hardware configuration, authority setting method embodiment of the present invention is proposed.
The authority setting method that the embodiment of the present invention proposes can be applied to electronic equipment, which can be PC,
Can be the packaged type terminal device that smart mobile phone, tablet computer, pocket computer etc. have display function, the present invention is implemented
Example is not construed as limiting the type of electronic equipment.In addition, the functional software that the present invention provides priority assignation can be special client
Software is held, can also be the plug-in unit of client software, the embodiment of the present invention is also not construed as limiting this.
It is the flow diagram of authority setting method first embodiment of the present invention, the priority assignation side with reference to Fig. 2, Fig. 2
Method includes:
Step S10, receives the priority assignation instruction of user's triggering, and determines the account currently logged in;
The application scenarios of the present embodiment can be:In a certain company, each employee using unified software or system into
Row office, wherein administrator plays the part of highest authorization role, and to ensure the safety of information, administrator need to be according to company organization's framework
Or business needs that its permission possessed in office software or system is arranged by each employee, manages for convenience, this implementation
The permission of rights management is set in example, and further for management regulation, multiple ranks can be arranged in the permission of rights management, management
The permission of the rights management of corresponding level can be assigned certain role by member, and either then certain role or user then can be with by user
Give the corresponding user setting permission of its priority assignation grade.The permission further includes but is not limited to the login based on software or system
Permission, access rights, and the search access right based on presupposed information or file, read permission, modification authority, sending permission, connect
Retake the power limit etc..
In the present embodiment, when user (administrator/certain user) enters the Administrator interface of office software or system
Afterwards, interface triggering priority assignation instruction can be based on.Terminal receives the priority assignation instruction of user's triggering, priority assignation instruction
Can be triggered by the corresponding region of user click, double-click or long-press terminal display screen, the present embodiment instructs priority assignation
Triggering mode be not construed as limiting.
Step S20 determines the priority assignation grade of current account, and is instructed according to the setting and show priority assignation circle
Face, the permission configuration interface include user information input area and priority assignation region, the user information input area packet
The input area of user information corresponding with priority assignation grade is included, the priority assignation region includes Role Information and function point
Information input area;
When receiving priority assignation instruction, determines the priority assignation grade of current login account, then set according to permission
It sets instruction and shows that a permission configuration interface, the permission configuration interface include user information input area and priority assignation region, be somebody's turn to do
The position in user information input area and priority assignation region, size and arrangement mode can be flexibly arranged.User information input area
Domain may include user information input area corresponding with priority assignation grade, or will user corresponding with priority assignation grade
Information is deposited in the buffer, when user carries out permission selection, is shown in the combobox of selection interface.
It is the display schematic diagram of permission configuration interface in the embodiment of the present invention with reference to Fig. 3, Fig. 3.Wherein, user information inputs
Region is used for the user information for inputting permission to be placed, which is the unique mark of user, for example can be name,
Or (content that each account with priority assignation permission is seen is different, i.e., all shows respective account pair for name+work number
The Role Information answered);Priority assignation region is used for for permission corresponding with the user of permission to be placed is arranged.
Wherein, priority assignation region includes Role Information, the Role Information at least two function point permissions of correspondence, such as
In one embodiment, Role Information can be:General manager -- have permission a, b, c, d, e, line manager -- have permission a, b,
C, d, financial staff's -- having permission a, b, c, engineer -- have permission a, b, d etc., the Role Information, i.e. angle when specific implementation
Color information and function point corresponding with each Role Information can be flexibly arranged in advance;In addition, priority assignation region further includes function point
Information, the function point information include several Role Informations and several function points, and each function point corresponds to a kind of permission,
Such as in one embodiment, function point information can be:Role Information -- general manager, line manager, financial staff, engineering
Teacher, function point -- permission a, permission b, permission c, permission d, permission e.
Step S30, receives user's input user information corresponding with the priority assignation grade of current account and user exists
The Role Information and/or function point information of the priority assignation region setting complete priority assignation.
In the step, terminal receives user information input by user, and the Role Information in the setting of priority assignation region
And/or function point information completes priority assignation, specifically includes following three kinds of situations:
The first, the Role Information for being based only upon priority assignation region completes priority assignation.For example, for a certain power to be placed
The user of limit, when based role information is selected as engineer, then the user automatically obtains all permissions of engineer under one's name, i.e.,
Obtain permission a, b, d;Certainly, choice box can be also provided respectively before each permission, each permission is carried out thereby using family
It neatly chooses and cancels, for example when the permission a of engineer under one's name is chosen in cancellation, then the engineer only obtains permission b and d.
Second, the function point information for being based only upon priority assignation region completes priority assignation.For example, for a certain to be placed
The user of permission can select the function point permission of user, such as selection permission b, e.
The third, while the Role Information based on priority assignation region and function point information complete priority assignation.For example, right
In the user of a certain permission to be placed, when being primarily based on Role Information and being selected as engineer, then the user automatically obtains engineer
All permissions under one's name obtain permission a, b, d, it is that the engineer adds additional rights e to be then based on function point information, then should
The permission that engineer finally obtains is permission a, b, d, e.
It is appreciated that above-mentioned three kinds of priority assignation modes can complete the priority assignation to a certain user, specific implementation
When can flexibly be selected according to actual needs.
Further, can also include step before above-mentioned steps S10:Be arranged different Role Informations and with it is each
The corresponding permission of Role Information is preserved into presetting database;
At this point, determining the priority assignation grade of current account, and permission configuration interface is shown according to the setting instruction
Step includes:It determines the priority assignation grade of current account, and is instructed according to the setting, reading and saving is in the preset data
Role Information and function point information in library simultaneously generate permission configuration interface, and the Role Information and function point presentation of information are existed
In the permission configuration interface.
In the present embodiment, a database can be pre-established, be then arranged different Role Informations and with each role
The corresponding permission of information, preserves as Role Information into the database, meanwhile, different Role Informations and different work(are set
Energy point, as in function point information preservation to the database, administrator can be according to the variation of company organization's framework or business demand
The Role Information and function point information flexibly preserved in modification database;When terminal receives priority assignation instruction, reads and protect
There are the Role Information and function point information in the database, and then generate permission configuration interface, and by the Role Information and
Function point presentation of information is in permission configuration interface.It so, it is possible to realize the Role Information and work(shown in permission configuration interface
Information can be put with the difference of data lab setting to change, meet variation of the priority assignation with company organization's framework or business demand
And the demand changed.
A kind of authority setting method that the embodiment of the present invention proposes, user can trigger priority assignation and instruct into corresponding
Permission configuration interface, the interface include user information input area and priority assignation region, the user information input area packet
The input area of user information corresponding with priority assignation grade is included, the priority assignation region includes Role Information and function point
Information input area, and the corresponding priority assignation grade of the login account is determined according to the account that user logs in, it is weighed in setting
In limited time, then can in same interface to system in user information select corresponding with priority assignation grade Role Information and/or
Function point information carries out priority assignation.In this way, multiple accounts setting priority assignation permission and priority assignation can be given
Grade, while user is not necessarily to carry out priority assignation operation from multiple interfaces, it is only necessary to can then it be arranged and oneself by an interface
The permission of other users under own account permission, therefore facilitate priority assignation, it ensure that flexibility and the convenience of priority assignation.
Further, it is the flow diagram of authority setting method second embodiment of the present invention with reference to Fig. 4, Fig. 4.Based on upper
Embodiment shown in Fig. 2 is stated, step S30 may include:
Step S31 receives user and multiple user informations corresponding with current account priority assignation grade and user is selected to exist
An at least Role Information and/or function point information for the priority assignation region setting;
Step S32, by user the priority assignation regional choice an at least Role Information and/or function point information pair
The priority assignation answered is the permission of user corresponding with multiple user informations.
In the present embodiment, user information input area can show a user information list, the user information list
Include the user information of multiple and different users, administrator can be selected based on the user information list one or more users as
The user of permission to be placed, and the corresponding permission of one or more user is set in priority assignation region.
Specifically, when terminal receive user select corresponding with current account priority assignation grade multiple user informations and
In priority assignation region when at least Role Information and/or function point information of setting, by user in priority assignation regional choice
An at least Role Information and/or the corresponding priority assignation of function point information be user corresponding with multiple user informations power
Limit.It so, it is possible to realize and priority assignation carried out to multiple and different users simultaneously, belong to same role in multiple users and have
Permission it is identical in the case of, this setup can greatly simplify the operation of administrator, and can improve priority assignation effect
Rate.
Further, it is the flow diagram of authority setting method 3rd embodiment of the present invention with reference to Fig. 5, Fig. 5.Based on upper
Embodiment shown in Fig. 2 is stated, step S20 may include:
Step S21 reads user information, Role Information and function point according to setting instruction from presetting database and believes
Breath, and show user information corresponding with current account priority assignation grade in user information input area, in priority assignation area
Corresponding position shows Role Information and function point information in domain;
Step S30 may include:
Step S33, receive user the priority assignation regional choice Role Information and/or function point information, and will
User is and user information in the Role Information and/or the corresponding priority assignation of function point information of the priority assignation regional choice
The permission of corresponding user.
In the present embodiment, a database can be pre-established, is then set user information according to actual needs, Jiao Sexin
In breath and function point information preservation to the database.Terminal reads from the database and uses after receiving priority assignation instruction
Family information, Role Information and function point information, and shown and current account priority assignation grade pair in user information input area
The user information answered, corresponding position shows Role Information and function point information in priority assignation region, then, receives user and exists
The Role Information and/or function point information of priority assignation regional choice, and user is believed in the role of priority assignation regional choice
Breath and/or the permission that the corresponding priority assignation of function point information is user corresponding with user information.In this way, realizing at one
User right is set in interface, it is flexible to operation.
Further, above-mentioned steps S21 may include:User's letter is read from presetting database according to setting instruction
Breath, Role Information and function point information, and show according to preset rules in user information input area and set with current account permission
The corresponding user information of grade is set, corresponding position shows Role Information and function point information in priority assignation region.
Specifically, above-mentioned to may include the step of user information input area shows user information according to preset rules:
The letter sequence of first character shows user information in user information input area is according to the user information.
For example, when user information is name, the first letter in different user name phonetic can be obtained, is then pressed
According to sequence of the letter in The English alphabet, the name of different user is ranked up.
It is above-mentioned to include the step of user information input area shows user information according to preset rules:In user
Information input area shows user information according to the corresponding number sorting of the user information.
It, can will be to multiple according to the ascending sequence of number for example, when each user information corresponds to a number
User information is ranked up.
By showing user information according to preset rules, facilitates administrator quickly to position it and want the user of selection, meet
User authority setting demand under multi-user scene.
The present invention also provides a kind of priority assignation devices.
Priority assignation device of the present invention includes:It memory, processor and is stored on the memory and can be at the place
The priority assignation program run on reason device, the priority assignation program realize method as described above when being executed by the processor
The step of.
Wherein, the priority assignation program run on the processor is performed realized method and can refer to the present invention
The each embodiment of authority setting method, details are not described herein again.
The present invention also provides a kind of computer readable storage mediums.
Priority assignation program is stored on computer readable storage medium of the present invention, the priority assignation program is by processor
The step of authority setting method as described above is realized when execution.
Wherein, the priority assignation program run on the processor is performed realized method and can refer to the present invention
The each embodiment of authority setting method, details are not described herein again.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of authority setting method, which is characterized in that the authority setting method includes the following steps:
The priority assignation instruction of user's triggering is received, and determines the account currently logged in;
It determines the priority assignation grade of current account, and is instructed according to the setting and show that permission configuration interface, the permission are set
It includes user information input area and priority assignation region to set interface, and the user information input area includes with priority assignation etc.
The input area of the corresponding user information of grade, the priority assignation region includes Role Information and function point information input area;
It receives user and inputs user information corresponding with the priority assignation grade of current account and user in the priority assignation
The Role Information and/or function point information of region setting complete priority assignation.
2. authority setting method as described in claim 1, which is characterized in that receive the step of the priority assignation instruction of user's triggering
Before rapid, further include:
It receives user and inputs Role Information and function point permission corresponding with Role Information, preserve into presetting database;
Determine the priority assignation grade of current account, and the step of instructing display permission configuration interface according to the setting includes:
It determines the priority assignation grade of current account, and is instructed according to the setting, reading and saving is in the presetting database
Role Information corresponding with current account priority assignation grade and function point information;
By the Role Information and function point presentation of information in the permission configuration interface.
3. authority setting method as described in claim 1, which is characterized in that receive user's input and the permission of current account is set
Set the Role Information and/or function point information that the corresponding user information of grade and user are arranged in the priority assignation region
Complete priority assignation the step of include:
Receiving user selects multiple user informations corresponding with the priority assignation grade of current account and user to be set in the permission
Set at least Role Information and/or function point information of region setting;
By user the priority assignation regional choice an at least Role Information and/or the corresponding priority assignation of function point information
For the permission of user corresponding with multiple user informations.
4. authority setting method as described in claim 1, which is characterized in that instructed according to the setting and show priority assignation circle
Face, the permission configuration interface include user information input area and priority assignation region, and the priority assignation region includes angle
The step of color information and function point information further includes:
User information, Role Information and function point information are read from presetting database according to setting instruction, and in user
Information input area shows user information corresponding with current account priority assignation grade, the corresponding position in priority assignation region
Show Role Information and function point information;
Receive the Role Information and/or function point letter that user information input by user and user are arranged in the priority assignation region
Ceasing the step of completing priority assignation includes:
Receive user the priority assignation regional choice Role Information and/or function point information, and by user in the power
The Role Information and/or the corresponding priority assignation of function point information that limit setting area selects is user'ss corresponding with user information
Permission.
5. authority setting method as claimed in claim 4, which is characterized in that according to setting instruction from presetting database
User information, Role Information and function point information are read, and is shown and current account priority assignation in user information input area
The step of corresponding user information of grade, corresponding position shows Role Information and function point information in priority assignation region, wraps
It includes:
User information, Role Information and function point information are read from presetting database according to setting instruction, and in user
Information input area shows user information corresponding with current account priority assignation grade according to preset rules, in priority assignation area
Corresponding position shows Role Information and function point information in domain.
6. authority setting method as claimed in claim 5, which is characterized in that according to setting instruction from presetting database
Read user information, Role Information and function point information, and user information input area according to preset rules show with currently
Account priority assignation grade corresponding user information, corresponding position shows Role Information and function point information in priority assignation region
The step of include:
The letter sequence of first character shows user information in user information input area is according to the user information.
7. authority setting method as claimed in claim 5, which is characterized in that according to setting instruction from presetting database
Read user information, Role Information and function point information, and user information input area according to preset rules show with currently
Account priority assignation grade corresponding user information, corresponding position shows Role Information and function point information in priority assignation region
The step of include:
In user information input area user information is shown according to the corresponding number sorting of the user information.
8. such as claim 1-7 any one of them authority setting methods, which is characterized in that the Role Information corresponds at least two
A function point permission.
9. a kind of priority assignation device, which is characterized in that the priority assignation device includes:It memory, processor and is stored in
On the memory and the priority assignation program that can run on the processor, the priority assignation program is by the processor
It is realized such as the step of method described in any item of the claim 1 to 8 when execution.
10. a kind of computer readable storage medium, which is characterized in that storage, which has permission, on the computer readable storage medium sets
Program is set, such as priority assignation described in any item of the claim 1 to 8 is realized when the priority assignation program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810562924.9A CN108763882A (en) | 2018-06-01 | 2018-06-01 | Authority setting method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810562924.9A CN108763882A (en) | 2018-06-01 | 2018-06-01 | Authority setting method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108763882A true CN108763882A (en) | 2018-11-06 |
Family
ID=64002524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810562924.9A Withdrawn CN108763882A (en) | 2018-06-01 | 2018-06-01 | Authority setting method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108763882A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457921A (en) * | 2019-08-01 | 2019-11-15 | 维沃移动通信有限公司 | Right management method and terminal device |
CN110674516A (en) * | 2019-09-18 | 2020-01-10 | 腾讯科技(深圳)有限公司 | Permission configuration method and device of electronic bill management system and computer equipment |
CN112491987A (en) * | 2020-11-16 | 2021-03-12 | 珠海格力电器股份有限公司 | User permission configuration method, device, server and configuration system |
-
2018
- 2018-06-01 CN CN201810562924.9A patent/CN108763882A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457921A (en) * | 2019-08-01 | 2019-11-15 | 维沃移动通信有限公司 | Right management method and terminal device |
CN110674516A (en) * | 2019-09-18 | 2020-01-10 | 腾讯科技(深圳)有限公司 | Permission configuration method and device of electronic bill management system and computer equipment |
CN112491987A (en) * | 2020-11-16 | 2021-03-12 | 珠海格力电器股份有限公司 | User permission configuration method, device, server and configuration system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180357440A1 (en) | Personalized Meetings | |
US10775979B2 (en) | Buddy list presentation control method and system, and computer storage medium | |
KR102161200B1 (en) | Method for controlling a sleep mode and an electronic device thereof | |
CN110532764B (en) | Authority processing method, mobile terminal and readable storage medium | |
CN109814972A (en) | Interface display method and terminal | |
CN113282962B (en) | Privacy-related request processing method, processing device and storage medium | |
CN107222315A (en) | User information revealing method and system based on voice communication platform | |
CN108763882A (en) | Authority setting method, device and storage medium | |
CN108763564A (en) | Using method for pushing, device and computer readable storage medium | |
CN108664185A (en) | Picture display process, mobile terminal and computer readable storage medium | |
CN108958629B (en) | Split screen quitting method and device, storage medium and electronic equipment | |
CN108416226A (en) | Right management method, device and the computer readable storage medium of block chain | |
CN107943372A (en) | A kind of interface display method, device and computer-readable recording medium | |
CN108170351A (en) | A kind of method for information display, terminal and computer readable storage medium | |
CN108932086A (en) | Display methods, device and the storage medium of application interface | |
CN109800602A (en) | Method for secret protection, mobile terminal and computer readable storage medium | |
CN107766453A (en) | Data base management method, device and storage medium based on block chain | |
CN108228034A (en) | Control method, mobile terminal and the computer readable storage medium of mobile terminal | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN108777808A (en) | Text-to-speech method, display terminal and storage medium based on display terminal | |
CN108234214A (en) | Radio-frequency configuration method, mobile terminal and the readable storage medium storing program for executing of mobile terminal | |
CN108681427A (en) | A kind of method and terminal device of access privilege control | |
CN109891828A (en) | Context painting canvas for collaboration workspace environment | |
CN106295379A (en) | Encrypt input method and device, deciphering input method and device and relevant device | |
CN108733424A (en) | Using wake-up control method, equipment and computer-readable storage media |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181106 |