CN106933573A - A kind of method and system that user and role are obtained by SVN configuration files - Google Patents
A kind of method and system that user and role are obtained by SVN configuration files Download PDFInfo
- Publication number
- CN106933573A CN106933573A CN201710097046.3A CN201710097046A CN106933573A CN 106933573 A CN106933573 A CN 106933573A CN 201710097046 A CN201710097046 A CN 201710097046A CN 106933573 A CN106933573 A CN 106933573A
- Authority
- CN
- China
- Prior art keywords
- user
- role
- source code
- dimension
- information
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of method and system that user and role are obtained by SVN configuration files, and methods described includes:The configuration file of SVN is obtained, user and the Role Information of source code to be managed are included in the configuration file;User and the Role Information of the source code to be managed are obtained by parsing the configuration file;The user and Role Information are presented by the program page.The embodiment of the present invention, obtains the configuration file of SVN, user and the Role Information of source code to be managed is obtained by parsing configuration file, by program page presentation user and Role Information so that can easily check user and the mutual relation of role by SVN.
Description
Technical field
The present invention relates to electric data processing field, more particularly to a kind of user and role's are obtained by SVN configuration files
Method and system.
Background technology
In the existing technology about SVN Source code managements, third-party application is typically based on, such as:VisualSvn
Server Manager, are managed to source code.The emphasis of these softwares is the management of source code and authority, for
Family angle, role, authority check that comparing is weak, can only unidirectional check:Source code authority catalogue->User, source code authority mesh
Record->Role, role->Customer relationship, not only searches also inconvenience, and cannot reversely check:User->Source code authority catalogue,
Customer relationship->Role, role->Source code authority catalogue.
The content of the invention
In view of this, the present invention provides a kind of method and system that user and role are obtained by SVN configuration files, to solve
The problem that certainly prior art cannot be checked reversely.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides a kind of method that user and role are obtained by SVN configuration files, and methods described includes:
The configuration file of SVN is obtained, user and the Role Information of source code to be managed are included in the configuration file;
User and the Role Information of the source code to be managed are obtained by parsing the configuration file;
The user and Role Information are presented by the program page.
Present invention also offers a kind of system that user and role are obtained by SVN configuration files, the system, including:
Configuration file acquiring unit, the configuration file for obtaining SVN includes source generation to be managed in the configuration file
The user of code and Role Information;
Resolution unit, for the configuration file to obtain the user of the source code to be managed and role believes by parsing
Breath;
Display unit, for the user and Role Information to be presented by the program page.
The embodiment of the present invention, obtains the configuration file of SVN, and the user of source code to be managed is obtained by parsing configuration file
With Role Information, by program page presentation user and Role Information so that can easily check user and role by SVN
Mutual relation.
Brief description of the drawings
Fig. 1 is a kind of side that user and role are obtained by SVN configuration files shown in an exemplary embodiment of the invention
The flow chart of method;
Fig. 2 is that a kind of shown in an exemplary embodiment of the invention is by what SVN configuration files obtained user and role
The structure chart of system;
Fig. 3 is a kind of side that user and role are obtained by SVN configuration files shown in an exemplary embodiment of the invention
The schematic flow sheet of method.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention.
" one kind ", " described " and " being somebody's turn to do " of singulative used in the present invention and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
May be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
As shown in Figure 1 for the one kind shown in an exemplary embodiment of the invention obtains user and angle by SVN configuration files
The flow chart of the method for color, methods described includes:
Step S101, obtains the configuration file of SVN, and user and the angle of source code to be managed are included in the configuration file
Color information.
In embodiments of the present invention, managed by SVN (Subversion, a kind of version control system of open source code)
Source code, in user and the Role Information that can locally store source code to be managed of SVN, the user generally deposits with Role Information
Storage records the user and Role Information in the configuration file of SVN in structured text form, by the installation for searching SVN
Path is that can extract the configuration file.
Wherein, the user and Role Information, including:User profile, Role Information, source code authority directory information, use
Family and user have relation, user and the relation of role, role and the role tool described in user of the storage source code directory of authority
The relation of the storage source code directory having permission.
Preferably, the configuration file is authz configuration files.
Step S102, user and the Role Information of the source code to be managed are obtained by parsing the configuration file.
In embodiments of the present invention, configuration file directly using, it is necessary to parsed to configuration file, and then can not be obtained
Take user and the Role Information of source code to be managed.
Further, the user and Role Information for being obtained by parsing can also be stored in local database.
It is pointed out that the method for parsing configuration file will not be described here usually using prior art.
Step S103, the user and Role Information are presented by the program page.
In embodiments of the present invention, the user of acquisition can be presented with Role Information in the program page of system.Tool
Body:The user and Role Information that obtain are presented by user's dimension, role's dimension, storage dimension.
Preferably, the user and Role Information that obtain are presented by user's dimension, role's dimension, storage dimension, including:
User's dimension:Check that the affiliated role of user, user, user have the storage source code path of authority;
Role's dimension:Check that role, user, role contained by role feel the storage source code path having permission;
Source code directory dimension:Check source code directory, source code directory owning user, the affiliated role of source code directory.
The embodiment of the present invention, obtains the configuration file of SVN, and the user of source code to be managed is obtained by parsing configuration file
With Role Information, by program page presentation user and Role Information so that can easily check user and role by SVN
Mutual relation.
It is illustrated in figure 2 the one kind shown in an exemplary embodiment of the invention and user and angle is obtained by SVN configuration files
The structure chart of the system of color, the system includes:
Configuration file acquiring unit 201, the configuration file for obtaining SVN, includes to be managed in the configuration file
The user of source code and Role Information.
In embodiments of the present invention, managed by SVN (Subversion, a kind of version control system of open source code)
Source code, in user and the Role Information that can locally store source code to be managed of SVN, the user generally deposits with Role Information
Storage records the user and Role Information in the configuration file of SVN in structured text form, by the installation for searching SVN
Path is that can extract the configuration file.
Wherein, the user and Role Information, including:User profile, Role Information, source code authority directory information, use
Family and user have relation, user and the relation of role, role and the role tool described in user of the storage source code directory of authority
The relation of the storage source code directory having permission.
Preferably, the configuration file is authz configuration files.
Resolution unit 202, user and role for obtaining the source code to be managed by parsing the configuration file
Information.
In embodiments of the present invention, configuration file directly using, it is necessary to parsed to configuration file, and then can not be obtained
Take user and the Role Information of source code to be managed.
Further, the user and Role Information for being obtained by parsing can also be stored in local database.
It is pointed out that the method for parsing configuration file will not be described here usually using prior art.
Display unit 203, for the user and Role Information to be presented by the program page.
In embodiments of the present invention, the user of acquisition can be presented with Role Information in the program page of system.Tool
Body:The user and Role Information that obtain are presented by user's dimension, role's dimension, storage dimension.
Preferably, the user and Role Information that obtain are presented by user's dimension, role's dimension, storage dimension, including:
User's dimension:Check that the affiliated role of user, user, user have the storage source code path of authority;
Role's dimension:Check that role, user, role contained by role feel the storage source code path having permission;
Source code directory dimension:Check source code directory, source code directory owning user, the affiliated role of source code directory.
The embodiment of the present invention, obtains the configuration file of SVN, and the user of source code to be managed is obtained by parsing configuration file
With Role Information, by program page presentation user and Role Information so that can easily check user and role by SVN
Mutual relation.
It is illustrated in figure 3 the one kind shown in an exemplary embodiment of the invention and user and angle is obtained by SVN configuration files
The schematic flow sheet of the method for color.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Unit, you can with positioned at a place, or can also be distributed on multiple NEs.It can according to the actual needs be selected
In some or all of module realize the purpose of the present invention program.Those of ordinary skill in the art are not paying creative labor
In the case of dynamic, you can to understand and implement.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.
Claims (10)
1. a kind of method that user and role are obtained by SVN configuration files, it is characterised in that methods described includes:
The configuration file of SVN is obtained, user and the Role Information of source code to be managed are included in the configuration file;
User and the Role Information of the source code to be managed are obtained by parsing the configuration file;
The user and Role Information are presented by the program page.
2. the method for claim 1, it is characterised in that user and Role Information, including:User profile, Role Information,
Source code authority directory information, user and user have relation, user and the angle described in user of the storage source code directory of authority
The relation of color, role and role have the relation of the storage source code directory of authority.
3. the method for claim 1, it is characterised in that the configuration file is authz configuration files.
4. the method for claim 1, it is characterised in that described the user is presented by the program page to believe with role
Breath, including:
The user and Role Information that obtain are presented by user's dimension, role's dimension, storage dimension.
5. method as claimed in claim 4, it is characterised in that described to be presented by user's dimension, role's dimension, storage dimension
The user of acquisition and Role Information, including:
User's dimension:Check that the affiliated role of user, user, user have the storage source code path of authority;
Role's dimension:Check that role, user, role contained by role feel the storage source code path having permission;
Source code directory dimension:Check source code directory, source code directory owning user, the affiliated role of source code directory.
6. a kind of system that user and role are obtained by SVN configuration files, it is characterised in that the system, including:
Configuration file acquiring unit, the configuration file for obtaining SVN, includes source code to be managed in the configuration file
User and Role Information;
Resolution unit, user and Role Information for obtaining the source code to be managed by parsing the configuration file;
Display unit, for the user and Role Information to be presented by the program page.
7. system as claimed in claim 6, it is characterised in that the user and Role Information, including:User profile, role
Information, source code authority directory information, user and user have relation, user and the user institute of the storage source code directory of authority
Stating relation, role and the role of role has the relation of storage source code directory of authority.
8. system as claimed in claim 6, it is characterised in that the configuration file is authz configuration files.
9. system as claimed in claim 6, it is characterised in that the display unit especially by user's dimension, role's dimension,
Storage dimension is presented the user and Role Information for obtaining.
10. system as claimed in claim 9, it is characterised in that described to be in by user's dimension, role's dimension, storage dimension
The user for now obtaining and Role Information, including:
User's dimension:Check that the affiliated role of user, user, user have the storage source code path of authority;
Role's dimension:Check that role, user, role contained by role feel the storage source code path having permission;
Source code directory dimension:Check source code directory, source code directory owning user, the affiliated role of source code directory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710097046.3A CN106933573B (en) | 2017-02-22 | 2017-02-22 | Method and system for acquiring user and role through SVN configuration file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710097046.3A CN106933573B (en) | 2017-02-22 | 2017-02-22 | Method and system for acquiring user and role through SVN configuration file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106933573A true CN106933573A (en) | 2017-07-07 |
CN106933573B CN106933573B (en) | 2020-10-16 |
Family
ID=59423743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710097046.3A Expired - Fee Related CN106933573B (en) | 2017-02-22 | 2017-02-22 | Method and system for acquiring user and role through SVN configuration file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933573B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815646A (en) * | 2019-01-30 | 2019-05-28 | 上海易点时空网络有限公司 | Code administration method and device |
CN111124467A (en) * | 2018-10-31 | 2020-05-08 | 上海哔哩哔哩科技有限公司 | Method and system for displaying authority role, computer equipment and readable storage medium |
CN112015661A (en) * | 2020-09-08 | 2020-12-01 | 江苏云柜网络技术有限公司 | Software testing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521717A (en) * | 2011-12-30 | 2012-06-27 | 山东中创软件工程股份有限公司 | Method and device for carrying out statistics on configuration management resource library information |
CN102945337A (en) * | 2012-11-27 | 2013-02-27 | 国电南瑞科技股份有限公司 | On-line self-help management method and system of Subversion user password |
CN104090776A (en) * | 2014-07-24 | 2014-10-08 | 北京全路通信信号研究设计院有限公司 | Software development method and system |
CN104361066A (en) * | 2014-11-04 | 2015-02-18 | 福建亿榕信息技术有限公司 | Unstructured full-text retrieval system based on authorities |
CN104915774A (en) * | 2015-06-05 | 2015-09-16 | 浪潮电子信息产业股份有限公司 | SVN log analysis and project management software combination-based method |
WO2016000126A1 (en) * | 2014-06-30 | 2016-01-07 | 北京新媒传信科技有限公司 | Automatic deployment method and terminal |
-
2017
- 2017-02-22 CN CN201710097046.3A patent/CN106933573B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521717A (en) * | 2011-12-30 | 2012-06-27 | 山东中创软件工程股份有限公司 | Method and device for carrying out statistics on configuration management resource library information |
CN102945337A (en) * | 2012-11-27 | 2013-02-27 | 国电南瑞科技股份有限公司 | On-line self-help management method and system of Subversion user password |
WO2016000126A1 (en) * | 2014-06-30 | 2016-01-07 | 北京新媒传信科技有限公司 | Automatic deployment method and terminal |
CN104090776A (en) * | 2014-07-24 | 2014-10-08 | 北京全路通信信号研究设计院有限公司 | Software development method and system |
CN104361066A (en) * | 2014-11-04 | 2015-02-18 | 福建亿榕信息技术有限公司 | Unstructured full-text retrieval system based on authorities |
CN104915774A (en) * | 2015-06-05 | 2015-09-16 | 浪潮电子信息产业股份有限公司 | SVN log analysis and project management software combination-based method |
Non-Patent Citations (1)
Title |
---|
巴尾的兔兔帅: "SVN配置文件详解", 《HTTPS://WWW.ITEYE.COM/BLOG/WJY320-1999916》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124467A (en) * | 2018-10-31 | 2020-05-08 | 上海哔哩哔哩科技有限公司 | Method and system for displaying authority role, computer equipment and readable storage medium |
CN111124467B (en) * | 2018-10-31 | 2023-09-01 | 上海哔哩哔哩科技有限公司 | Authority role display method, system, computer equipment and readable storage medium |
CN109815646A (en) * | 2019-01-30 | 2019-05-28 | 上海易点时空网络有限公司 | Code administration method and device |
CN112015661A (en) * | 2020-09-08 | 2020-12-01 | 江苏云柜网络技术有限公司 | Software testing method and device |
CN112015661B (en) * | 2020-09-08 | 2023-10-03 | 南京云柜网络科技有限公司 | Software testing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106933573B (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9268947B1 (en) | Method and system for managing information associated with sensitive information in an enterprise | |
US8156538B2 (en) | Distribution of information protection policies to client machines | |
US9600134B2 (en) | Selecting portions of computer-accessible documents for post-selection processing | |
US7966603B2 (en) | Systems and methods for context-based content management | |
US20100023937A1 (en) | System and method of enabling multi-tenancy for software as a service application | |
US20040002937A1 (en) | System and method for providing namespace related information | |
US20130262641A1 (en) | Generating Roles for a Platform Based on Roles for an Existing Platform | |
US20090164738A1 (en) | Process Based Cache-Write Through For Protected Storage In Embedded Devices | |
US11113252B2 (en) | User selectable data source for data recovery | |
CN109726041B (en) | Method, apparatus and computer readable medium for restoring files in a virtual machine disk | |
CN106933573A (en) | A kind of method and system that user and role are obtained by SVN configuration files | |
US8990154B2 (en) | Request de-duplication for enterprise service bus | |
US7925968B2 (en) | Providing navigation from content to a portal page | |
US11113157B2 (en) | Pluggable recovery in a data protection system | |
US11113393B2 (en) | Providing security features in write filter environments | |
US9971789B2 (en) | Selective disk volume cloning for virtual disk creation | |
KR20150081250A (en) | Bidirectional synchronization of communications and crm applications | |
US9916361B2 (en) | Dynamically mapping zones | |
US20150381615A1 (en) | Managing user data for software services | |
US20180020075A1 (en) | Apparatus and method for providing data based on cloud service | |
US9069884B2 (en) | Processing special attributes within a file | |
US9621424B2 (en) | Providing a common interface for accessing and presenting component configuration settings | |
US20140379762A1 (en) | Content management system | |
CN105122264A (en) | Systems and methodologies for controlling access to a file system | |
JP5887236B2 (en) | Business document processing apparatus, business document processing method, and business document processing program |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201016 Termination date: 20210222 |
|
CF01 | Termination of patent right due to non-payment of annual fee |