CN107895125A - One kind management menu and operating right customizing method - Google Patents
One kind management menu and operating right customizing method Download PDFInfo
- Publication number
- CN107895125A CN107895125A CN201711276337.5A CN201711276337A CN107895125A CN 107895125 A CN107895125 A CN 107895125A CN 201711276337 A CN201711276337 A CN 201711276337A CN 107895125 A CN107895125 A CN 107895125A
- Authority
- CN
- China
- Prior art keywords
- menu
- information
- operating right
- interface
- 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.)
- 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/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses one kind management menu and operating right customizing method, the system of the mvc frameworks based on php, url addresses are with file direct correlation, by reading file on source code, controller and method are analyzed, remark information can also be matched, that can directly controls backstage menu by code rank, it is and more controllable, easy care, then sqlite databases are arrived by storage, by database purchase to code tree, directly anywhere a renewal, menu Anywhere all reach unanimously.
Description
Technical field
The present invention relates to Computer Applied Technology field, more particularly to one kind manages menu and operating right is self-defined
Method.
Background technology
In the prior art, for the management system of complexity, to accomplish multistage limit management, it is necessary to be stored to backstage menu
Distribution, due on exploitation version and line version can not two disparate databases, and code is being changed at any time, backstage menu address
In change etc. at any time, great inconvenience is brought to maintenance.Therefore, the flexible configuration of backstage menu and authority configuration are extremely heavy
Will.
The content of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of management menu and operating right are self-defined
Method, the system of the mvc frameworks based on php, url addresses, by reading file on source code, analyze control with file direct correlation
Device processed and method, remark information can also be matched, that can directly controls backstage menu by code rank, and more may be used
Control, easy care, then sqlite databases arrive by storage, database purchase to code tree directly anywhere one updates,
Menu Anywhere all reaches unanimously.
The present invention is achieved by the following technical solutions:One kind management menu and operating right customizing method, it is special
Sign is:Comprise the following steps:
(1) set and specify interface;
(2) php reads Source control device file, and matching remark information is combined into address+pad name as pad name
Etc. information;
(3) storage menu information is in sqlite databases;
(4) menu navigation classification setting interface and menu distribution interface;
(5) authority distribution interface.
Preferably, the information such as address+pad name that are combined into the step (2) read Source control device text for php
What part analyzed:Module, controller, method, title.
Preferably, the storage menu information in the step (3) is in sqlite databases;Wherein, by sqlite data
The menu information of library storage is stored to code tree, is easy to unification for directly updating.
In the technical program, set and specify interface, by the automatic Read Controller of source code and method, matching remark information is made
For pad name, the information such as address+pad name are combined into, storage is arrived in sqlite databases, also sets up navigation classification in addition,
And menu can arbitrarily be referred to and accompany navigation to classify, after the completion of renewal, be put into corresponding code release, anywhere update
, whole backstage menu automatically updates, if menu changes, updates the menu authority of relative users.
The present invention has advantages below compared with prior art:The present invention is real in menu, operation button, flow, data plane
Show the simple control of complicated authority, solve the problems, such as role-security in management information system;By reading file on source code,
Controller and method are analyzed, remark information can also be matched, that can directly controls backstage menu by code rank,
And more controllable, easy care, then sqlite databases are arrived by storage, by database purchase to code tree, directly take office where
Side one updates, and menu Anywhere all reaches unanimously;Applying can be opened in management information system using less system
Pin, easily realizes the management of self-defined role and self-defined authority, ensure that the popularity and height of rights management scope
Reliability.
Embodiment
Embodiments of the invention are elaborated below, the present embodiment is carried out lower premised on technical solution of the present invention
Implement, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to following implementation
Example.
A kind of management menu and the operating right customizing method provided in the present embodiment, comprises the following steps:
(1) set and specify interface;
(2) php reads Source control device file, and matching remark information is combined into address+pad name as pad name
Etc. information;
(3) storage menu information is in sqlite databases;
(4) menu navigation classification setting interface and menu distribution interface;
(5) authority distribution interface.
Preferably, the information such as address+pad name that are combined into the step (2) read Source control device text for php
What part analyzed:Module, controller, method, title;Storage menu information in the step (3) is in sqlite databases;
Wherein, the menu information of sqlite database purchases is stored to code tree, is easy to unification for directly updating.
To the technical program embodiment, the step (5) establish authority distribution interface include permission ID, permission type ID,
Authority description field, each menu, interface, operation button, flow distribute 36 database random codes, i.e. authority
ID, the random code are unique in systems;A random code is distributed per a data, or data are sorted out, by classification
Distribute random code.
The present embodiment setting principle is to set and specify interface, by the automatic Read Controller of source code and method, matches remarks
Information is combined into the information such as address+pad name, storage is arrived in sqlite databases, also sets up lead in addition as pad name
Boat classification, and can arbitrarily refer to menu and accompany navigation to classify, after the completion of renewal, is put into corresponding code release, take office where
Side have updated, and whole backstage menu automatically updates, if menu changes, updates the menu authority of relative users.
The method of the present embodiment is specially:
(1) php reads Source control device file, analyzes:Module, controller, method, title;
(2) storage menu information is to sqlite;
(3) menu navigation classification setting interface and menu distribution interface;
(4) authority distribution interface.
The present invention realizes the simple control of complicated authority in menu, operation button, flow, data plane, solves pipe
The problem of managing role-security in information system;By reading file on source code, controller and method are analyzed, can also be matched
Remark information, that can directly control backstage menu by code rank, and more controllable, easy care, then are arrived by storage
Sqlite databases, by database purchase to code tree, directly anywhere a renewal, menu Anywhere all reach one
Cause;Less overhead can be used in management information system by applying, and easily realize self-defined role and self-defined
The management of authority, it ensure that the popularity of rights management scope and the reliability of height.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (3)
1. one kind management menu and operating right customizing method, it is characterised in that:Comprise the following steps:
(1) set and specify interface;
(2) php reads Source control device file, and matching remark information is combined into the letter such as address+pad name as pad name
Breath;
(3) storage menu information is in sqlite databases;
(4) menu navigation classification setting interface and menu distribution interface;
(5) authority distribution interface.
2. a kind of management menu and operating right customizing method according to claim 1, it is characterised in that:The step
(2) information such as address+pad name that are combined into read what Source control device file analysis went out for php:Module, controller,
Method, title.
3. a kind of management menu and operating right customizing method according to claim 1, it is characterised in that:The step
(3) storage menu information in is in sqlite databases;Wherein, the menu information of sqlite database purchases was stored to generation
Code tree, it is easy to unification for directly updating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276337.5A CN107895125A (en) | 2017-12-06 | 2017-12-06 | One kind management menu and operating right customizing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276337.5A CN107895125A (en) | 2017-12-06 | 2017-12-06 | One kind management menu and operating right customizing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107895125A true CN107895125A (en) | 2018-04-10 |
Family
ID=61807610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711276337.5A Withdrawn CN107895125A (en) | 2017-12-06 | 2017-12-06 | One kind management menu and operating right customizing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107895125A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846068A (en) * | 2018-06-07 | 2018-11-20 | 安徽鼎龙网络传媒有限公司 | A kind of navigation operating system on micro- scene management backstage |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102930189A (en) * | 2012-10-12 | 2013-02-13 | 中标软件有限公司 | Role authority limiting method and system |
CN104767835A (en) * | 2014-01-03 | 2015-07-08 | 携程计算机技术(上海)有限公司 | System and method for configuring URL (Uniform Resource Locator) address |
CN105468355A (en) * | 2015-11-13 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Realizing method and system of WEB management platform in WVC (model, view, controller) mode |
CN105549972A (en) * | 2015-12-10 | 2016-05-04 | 天津海量信息技术有限公司 | Unified authentication protocol-based mvc frame structure and running method thereof |
CN106406884A (en) * | 2016-09-19 | 2017-02-15 | 深圳市东信时代信息技术有限公司 | A .NET MVC mode-based fundamental development framework for WEB background management application systems |
-
2017
- 2017-12-06 CN CN201711276337.5A patent/CN107895125A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102930189A (en) * | 2012-10-12 | 2013-02-13 | 中标软件有限公司 | Role authority limiting method and system |
CN104767835A (en) * | 2014-01-03 | 2015-07-08 | 携程计算机技术(上海)有限公司 | System and method for configuring URL (Uniform Resource Locator) address |
CN105468355A (en) * | 2015-11-13 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Realizing method and system of WEB management platform in WVC (model, view, controller) mode |
CN105549972A (en) * | 2015-12-10 | 2016-05-04 | 天津海量信息技术有限公司 | Unified authentication protocol-based mvc frame structure and running method thereof |
CN106406884A (en) * | 2016-09-19 | 2017-02-15 | 深圳市东信时代信息技术有限公司 | A .NET MVC mode-based fundamental development framework for WEB background management application systems |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846068A (en) * | 2018-06-07 | 2018-11-20 | 安徽鼎龙网络传媒有限公司 | A kind of navigation operating system on micro- scene management backstage |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10262008B2 (en) | Filename-based inference of repository actions | |
CN104881285B (en) | Code snippet mark and reuse system based on body | |
GB2598493A (en) | Inferring temporal relationships for cybersecurity events | |
US10255308B2 (en) | Conforming data structure instances to schema versions | |
CN109408786B (en) | Intelligent novel auxiliary creation system | |
CN104363211A (en) | Method and system for managing authority | |
CN109657177A (en) | The generation method of the page, device, storage medium and computer equipment after upgrading | |
CN110532487B (en) | Label generation method and device | |
CN102495736A (en) | Method and system for identifying software code svn version in executable file | |
CN112214417A (en) | Function configuration method, device, equipment and storage medium | |
CN112231417A (en) | Data classification method and device, electronic equipment and storage medium | |
CN104239312B (en) | File management system and method | |
CN104298761A (en) | Implementation method for master data matching between heterogeneous software systems | |
CN107895125A (en) | One kind management menu and operating right customizing method | |
CN102521127A (en) | Universal bus data analyzing system | |
CN108108392B (en) | Commodity data management method, commodity data management device, computer equipment and storage medium | |
CN111045686A (en) | Method for improving application decompilation speed, intelligent terminal and storage medium | |
US20180357230A1 (en) | Implementation method of interlinked document | |
CN106020923B (en) | SELinux strategy compiling method and system | |
CN103902275A (en) | Method and system for achieving conversion of language versions of applications | |
CN112328272A (en) | Algorithm upgrading method, device, equipment and storage medium | |
CN114565316A (en) | Task issuing method based on micro-service architecture and related equipment | |
CN115455020A (en) | Incremental data synchronization method and device, computer equipment and storage medium | |
CN111144495B (en) | Service distribution method, device and medium | |
CN109376554B (en) | Multi-terminal electronic document examination and signature method and system based on labels and views |
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 |
Application publication date: 20180410 |
|
WW01 | Invention patent application withdrawn after publication |