CN105512515A - Method for controlling display of function modules based on permission masks - Google Patents
Method for controlling display of function modules based on permission masks Download PDFInfo
- Publication number
- CN105512515A CN105512515A CN201510856921.2A CN201510856921A CN105512515A CN 105512515 A CN105512515 A CN 105512515A CN 201510856921 A CN201510856921 A CN 201510856921A CN 105512515 A CN105512515 A CN 105512515A
- Authority
- CN
- China
- Prior art keywords
- user
- authority
- authority code
- audit
- code
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000012550 audit Methods 0.000 claims description 32
- 238000007726 management method Methods 0.000 claims description 18
- 230000000694 effects Effects 0.000 claims description 5
- 230000001276 controlling effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
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/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/105—Arrangements for software license management or administration, e.g. for managing licenses at corporate level
-
- 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/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to a method for controlling display of function modules based on permission masks. Each function module is provided with a permission mask, when a user logs in, the permission mask owned by the user is obtained first, and then in dependence on the permission mask, the function module is dynamically loaded and shown to the user. Compared with the prior art, the method for controlling display of the function modules based on the permission masks is advantaged in that what the user sees can be used.
Description
Technical field
The present invention relates to and belong to computer software control of authority technical field, relate to the technology such as software users rights management, the control of page functional module, especially relate to a kind of method based on the display of authority code controlling functions module.
Background technology
Along with the fast development of computer software, the function of software is more and more diversified, the role of software is used also to get more and more, as system manager, audit administrator, common management administrator, domestic consumer etc., different roles, different rights of using are had to software, as system manager can to system carry out some configuration, can to common management administrator's distribution portion administration authority, rights of using can be distributed to domestic consumer, audit administrator other users that can audit use the behavior of software, and the authority that domestic consumer distributes by keeper uses the function of specifying.
After user logs in software, to the functional module seen, under all may going to attempt use, if now prompting is without rights of using, user will feel to experience very poor, but so many function, how to allow each user log in after the functional module seen, being all the functional module having permission use, is many software problems faced.
Traditional way is the way that class of user type distributes fixing authority, the authority of all users of same type is all the same, but much software, needs according to various factors, for user configures different authorities, particularly in some large enterprises, organizational structure is complicated, and often changes, various level people, needing different authorities, is only the requirement that class of user type distribution authority cannot reach user.
Summary of the invention
Object of the present invention be exactly in order to overcome above-mentioned prior art exist defect and provide a kind of based on authority code controlling functions module display method, individual function has corresponding authority code, after user logs in, Presentation Function module is carried out according to the authority code of user, system manager also can according to actual conditions, for user configures different authorities, reach finding and available effect.
Object of the present invention can be achieved through the following technical solutions:
Based on a method for authority code controlling functions module display, it is characterized in that, for each functional module arranges an authority code, when user logs in, first obtain the authority code that this user has, then according to authority code, dynamic loading function module presents to user, reaches finding and available effect.
The method specifically comprises the following steps:
1) functional modules all inside software is listed, for each functional module arranges an authority code;
2) by the appearance design of software, divided into groups by authority code, the authority code of the functional module used that a page is seen is divided into one group;
3) all users of software are classified;
4) by authority code assign ment to all types of user;
5) build the software architecture of a dynamic value-added tax function module, possess the administration page of user right configuration;
6), when user logs in, first obtain all authority code groupings of this user and authority code, load the page that will show by grouping, then carry out the functional module under load page according to authority code;
7), after system manager logs in, be that common management administrator and domestic consumer distribute authority at the user right configuration page, and cancel the authority of having distributed.
If have dependence between functional module, be then set to same authority code.
All users classification of described software are system manager, audit administrator, common management administrator and domestic consumer.
Described is specially authority code assign ment to all types of user: audit associated rights is distributed to audit administrator, all authorities outside audit associated rights are distributed to system manager, common management administrator distributes simple administration authority by actual conditions, and domestic consumer distributes basic rights of using.
The described functional module come under load page according to authority code is specially: system manager logs in, and sees except the relevant all functions of audit; Audit administrator logs in, and can only see the page that audit is relevant; Domestic consumer logs in, and can only see the function of distribution.
Compared with prior art, functional module is combined with authority code by the present invention, divides into groups cleverly, utilize authority code, control the page display after user's login, reach finding and available effect, meet the demand using software without type of user, improve the Consumer's Experience of software.
Accompanying drawing explanation
Fig. 1 is system manager's display page schematic diagram;
Fig. 2 is domestic consumer's display page schematic diagram;
Fig. 3 is user login process figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all should belong to the scope of protection of the invention.
Controlling the principle of user function module display based on authority code, is for each functional module arranges an authority code, when user logs in, first obtain the authority code that this user has, then according to authority code, dynamic loading function module presents to user, reaches finding and available effect.
Concrete methods of realizing is as follows:
1) first list functional modules all inside software, for each functional module arranges an authority code, if having dependence between module, be then set to same authority code.
2) by the appearance design of software, divided into groups by authority code, the authority code of the functional module used that a page is seen is divided into one group, as follows:
● SYSTEM_MGM_VIEW (the system configuration page)
cREATE_RAID (creating raid)
dELETE_RAID (deleting raid)
● USER_MGM_VIEW (user management)
aDD_USER_FUN_CODE (adding user right code)
dEL_USER_FUN_CODE (deleting user right code)
eDIT_USER_FUN_CODE (compiles user authority code)
● BACKUP_VIEW (the backup page)
fILE_BACKUP_FUN_CODE (document backup authority code)
sYSTEN_BACKUP_FUN_CODE (system backup authority code)
oRACLE_BACKUP_FUN_CODE (Oracle backs up authority code)
mAIL_BACKUP_FUN_CODE (mail data backup authority code)
● LOG_VIEW (log page)
dELETE_LOG_FUN_CODE (deleting daily record authority code)
eXPORT_LOG_FUN_CODE (deriving daily record authority code)
3) all users of software are classified, such as system manager, audit administrator, common management administrator, domestic consumer.
4) by authority code assign ment to all types of user, such as audit administrator only has audit associated rights, only audit associated rights is distributed to audit administrator, as the daily record associated rights code in 2, system manager has all authorities except audit administrator authority, all authorities outside audit associated rights are distributed to system manager, common management administrator can distribute some simple administration authorities by actual conditions, domestic consumer distributes some basic rights of using, as the document backup authority code in 2.
5) realize the software architecture of a dynamic value-added tax function module, possess the administration page of user right configuration.
6), when user logs in, first obtain all authority code groupings of this user and authority code, load the page that will show by grouping, then carry out the functional module under load page according to authority code.As system manager logs in, can see except the relevant all functions of audit, see accompanying drawing 1; Audit administrator logs in, and can only see the page that audit is relevant; Domestic consumer logs in, and can only see the document backup functionality under the backup page, only have the system backup authority code that keeper distributes to him, just can see system backup function, other backup functionalitys be can't see, and see Fig. 2.
7), after system manager logs in, the page can be configured at user right and distribute authority for common management administrator and domestic consumer, also can cancel the authority of having distributed.
Embodiment is illustrated
For standby system, have system configuration function, subscriber management function, backup management function, log management function etc., backup comprises common document backup, system backup, Oracle backup, mail data backup etc.All pages that system manager is correlated with except audit, audit administrator will see the log management page, and the backup functionality that backup management function pages is different will be seen by different domestic consumers.
We are when design system, just can distribute except the relevant all authority codes of audit to system manager, distribute audit relevant authority code to audit administrator, distribute common document backup authority code to domestic consumer.
During use, if party A-subscriber needs system backup function, system backup authority code assign ment is given him by system manager; If the Oracle backup distributed before party B-subscriber, the existing organization structure of the enterprise changes, and B is not copying the relevant error of Oracle, and the Oracle of B is backed up authority code and deletes by system manager.
The above; be only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect amendment or the replacement of various equivalence easily, these amendments or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (6)
1., based on a method for authority code controlling functions module display, it is characterized in that, for each functional module arranges an authority code, when user logs in, first obtain the authority code that this user has, then according to authority code, dynamic loading function module presents to user, reaches finding and available effect.
2. method according to claim 1, is characterized in that, the method specifically comprises the following steps:
1) functional modules all inside software is listed, for each functional module arranges an authority code;
2) by the appearance design of software, divided into groups by authority code, the authority code of the functional module used that a page is seen is divided into one group;
3) all users of software are classified;
4) by authority code assign ment to all types of user;
5) build the software architecture of a dynamic value-added tax function module, possess the administration page of user right configuration;
6), when user logs in, first obtain all authority code groupings of this user and authority code, load the page that will show by grouping, then carry out the functional module under load page according to authority code;
7), after system manager logs in, be that common management administrator and domestic consumer distribute authority at the user right configuration page, and cancel the authority of having distributed.
3. method according to claim 2, is characterized in that, described step 1) in, if having dependence between functional module, be then set to same authority code.
4. method according to claim 2, is characterized in that, all users classification of described software are system manager, audit administrator, common management administrator and domestic consumer.
5. method according to claim 4, it is characterized in that, described is specially authority code assign ment to all types of user: audit associated rights is distributed to audit administrator, all authorities outside audit associated rights are distributed to system manager, common management administrator distributes simple administration authority by actual conditions, and domestic consumer distributes basic rights of using.
6. method according to claim 4, is characterized in that, the described functional module come under load page according to authority code is specially: system manager logs in, and sees except the relevant all functions of audit; Audit administrator logs in, and can only see the page that audit is relevant; Domestic consumer logs in, and can only see the function of distribution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510856921.2A CN105512515A (en) | 2015-11-30 | 2015-11-30 | Method for controlling display of function modules based on permission masks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510856921.2A CN105512515A (en) | 2015-11-30 | 2015-11-30 | Method for controlling display of function modules based on permission masks |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105512515A true CN105512515A (en) | 2016-04-20 |
Family
ID=55720492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510856921.2A Pending CN105512515A (en) | 2015-11-30 | 2015-11-30 | Method for controlling display of function modules based on permission masks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105512515A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499906A (en) * | 2008-02-02 | 2009-08-05 | 厦门雅迅网络股份有限公司 | Method for implementing subscriber authority management based on role function mapping table |
CN101847002A (en) * | 2010-05-20 | 2010-09-29 | 浙江中控软件技术有限公司 | Method for implementing dynamic regulation of authority items, device and system thereof |
EP2357585A2 (en) * | 2010-02-12 | 2011-08-17 | Samsung Electronics Co., Ltd. | User terminal, server and controlling method thereof |
CN102184355A (en) * | 2011-04-11 | 2011-09-14 | 浪潮电子信息产业股份有限公司 | Method for realizing separation of three powers by using kernel technology |
CN103324470A (en) * | 2012-03-21 | 2013-09-25 | 阿里巴巴集团控股有限公司 | Web system generation method and device |
CN104753902A (en) * | 2013-12-31 | 2015-07-01 | 上海格尔软件股份有限公司 | Service system verification method and device |
CN105069331A (en) * | 2015-08-07 | 2015-11-18 | 苏州博优赞信息科技有限责任公司 | Computer binary code format based permission control method |
-
2015
- 2015-11-30 CN CN201510856921.2A patent/CN105512515A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499906A (en) * | 2008-02-02 | 2009-08-05 | 厦门雅迅网络股份有限公司 | Method for implementing subscriber authority management based on role function mapping table |
EP2357585A2 (en) * | 2010-02-12 | 2011-08-17 | Samsung Electronics Co., Ltd. | User terminal, server and controlling method thereof |
CN101847002A (en) * | 2010-05-20 | 2010-09-29 | 浙江中控软件技术有限公司 | Method for implementing dynamic regulation of authority items, device and system thereof |
CN102184355A (en) * | 2011-04-11 | 2011-09-14 | 浪潮电子信息产业股份有限公司 | Method for realizing separation of three powers by using kernel technology |
CN103324470A (en) * | 2012-03-21 | 2013-09-25 | 阿里巴巴集团控股有限公司 | Web system generation method and device |
CN104753902A (en) * | 2013-12-31 | 2015-07-01 | 上海格尔软件股份有限公司 | Service system verification method and device |
CN105069331A (en) * | 2015-08-07 | 2015-11-18 | 苏州博优赞信息科技有限责任公司 | Computer binary code format based permission control method |
Non-Patent Citations (1)
Title |
---|
徐永红: "基于B_S结构的学校管理信息系统的研究与开发", 《中国优秀博硕士学位论文全文数据库 信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190147021A1 (en) | Multiplexing, isolating and collaborative management information system and method | |
CN110990150A (en) | Tenant management method and system of container cloud platform, electronic device and storage medium | |
CN111259378B (en) | Multi-tenant management system and implementation method thereof | |
CN106055967A (en) | SAAS platform user organization permission management method and system | |
CN101894231A (en) | Permission expansion control system and method thereof | |
CN102594899A (en) | Storage service method and storage server using the same | |
CN104463005A (en) | Method for controlling access permissions of electronic document | |
CN105550854A (en) | Access control device of cloud environment management platform | |
US11126460B2 (en) | Limiting folder and link sharing | |
KR20140033056A (en) | Automating cloud service reconnections | |
CN107679417A (en) | A kind of method and system of user's operating right management | |
CN104933088A (en) | Remote editing method and system | |
CN101853358A (en) | Method for implementing file object authority management | |
CN105046165A (en) | Network project platform hierarchy right control method | |
CN103942640A (en) | Meeting room management system | |
CN104091130A (en) | Authority control method for enterprise data management platform | |
CN113505996A (en) | Authority management method and device | |
CN104462903A (en) | Operation system authority processing method and device | |
CN105404799A (en) | Authority management apparatus in information system | |
CN106126427A (en) | A kind of method and system of fast quick-recovery test | |
Zheng et al. | Dynamic Role-Based Access Control Model. | |
CN105512515A (en) | Method for controlling display of function modules based on permission masks | |
CN109474706B (en) | data security centralized service method and system | |
CN106302473A (en) | The duplication maintaining method of a kind of SQL Server data base and system | |
CN104850569B (en) | Data migration method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160420 |