CN112783545A - Domain service and SVN-based code authority WEB management method and medium - Google Patents
Domain service and SVN-based code authority WEB management method and medium Download PDFInfo
- Publication number
- CN112783545A CN112783545A CN202110120094.6A CN202110120094A CN112783545A CN 112783545 A CN112783545 A CN 112783545A CN 202110120094 A CN202110120094 A CN 202110120094A CN 112783545 A CN112783545 A CN 112783545A
- Authority
- CN
- China
- Prior art keywords
- svn
- library
- code
- authority
- domain
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 53
- 230000008520 organization Effects 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 23
- 230000037430 deletion Effects 0.000 claims description 16
- 238000012217 deletion Methods 0.000 claims description 16
- 230000004913 activation Effects 0.000 claims description 7
- 230000009849 deactivation Effects 0.000 claims description 7
- 230000002085 persistent effect Effects 0.000 claims description 7
- 238000000354 decomposition reaction Methods 0.000 claims description 5
- 238000000547 structure data Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a code authority WEB management method and a medium based on domain service and SVN, comprising the following steps: synchronously updating user data information of the SVN base based on the preset Windows domain user data in one or more Windows domain servers; setting a distribution role, wherein the distribution role comprises the following steps: an administrator, a configuration administrator, and a common SVN user; initializing an administrator based on the user data information of the SVN library; the administrator allocates and configures the administrator according to the business requirement and the organization architecture; establishing and managing a plurality of SVN code libraries, and setting one or more configuration administrators for each SVN code library; establishing and managing one or more SVN library items under an SVN code library; creating and managing one or more SVN folders in an SVN library project or an SVN directory; and the configuration administrator set by the SVN code library distributes the authority to the SVN library items under the SVN code library and the common SVN users of the SVN library catalog.
Description
Technical Field
The invention relates to the technical field of computer software application, in particular to a code authority WEB management method and medium based on domain service and SVN (singular value decomposition), and more particularly to a code authority WEB management method and medium based on windows domain service and SVN (singular value decomposition) code base.
Background
svn is short for subversion, is an open source code version control system, adopts a branch management system, and is a worker of cvs. Currently, most open source software uses svn as code version management software. Traditionally, the user password for svn requires a dedicated administrator to take care of. When the organization is large, almost more than one full-time administrator is needed and the administrator's job is the same: that is, the help item creates a library of svns, and each member of the help item creates a corresponding svn user password. Once the project member wants to modify the password, a mail is also required to notify the administrator to process. The whole process is low in efficiency, manpower is wasted, and enterprise cost is increased. In addition, a local svn client needs to be established to manage the svn server, the whole process is complex and tedious, a lot of workload is increased for software development, and further improvement is needed.
Patent document CN106648589B (application number: 201610857660.0) discloses a system and method for online management and shared viewing of svn source codes, and belongs to the technical field of computer software application. The invention discloses a method for online management and shared viewing of an svn source code, which comprises the steps of carrying out user interaction on an svn console, obtaining a user instruction, transmitting the obtained user instruction to an svn engine, analyzing and processing the received instruction of the svn console by the svn engine, and calling an svn shared viewing component, an svn user authority control component and an svn online management component to carry out management of adding a new directory, deleting the directory, detecting and creating branches on svn.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a code authority WEB management method and a medium based on domain services and SVN.
The code authority WEB management method based on the domain service and the SVN provided by the invention comprises the following steps:
step M1: synchronously updating user data information of the SVN base based on the preset Windows domain user data in one or more Windows domain servers;
step M2: setting a distribution role, wherein the distribution role comprises the following steps: an administrator, a configuration administrator, and a common SVN user;
step M3: initializing an administrator based on the user data information of the SVN library;
step M4: the administrator allocates and configures the administrator according to the business requirement and the organization architecture;
step M5: establishing and managing a plurality of SVN code libraries, and setting one or more configuration administrators for each SVN code library by an administrator;
step M6: establishing and managing one or more SVN library items under an SVN code library;
step M7: creating and managing one or more SVN library directories in the SVN library entries;
step M8: and the configuration administrator set by the SVN code library distributes the authority to the SVN library items under the SVN code library and the common SVN users of the SVN library catalog.
Preferably, the step M1 includes: and synchronously updating the SVN library user data information in the persistent database based on the preset Windows domain user data in one or more Windows domain servers.
Preferably, the step M1 includes: and carrying out SVN library user data information and SVN library user state updating on the established SVN library users through the imported windows domain user data.
Preferably, the method further comprises the following steps: and establishing an SVN user group according to the operation authority, the access authority and the affiliated project group of the users and the SVN library users which are imported, and distributing the SVN user group and the affiliated relation of the SVN users.
Preferably, the step M8 includes: and the authority distribution is to assign one or more SVN users or SVN user groups to the SVN code library, the SVN library items and the SVN directory, and assign read-only, read-write and/or deletion authorities to the SVN users and the SVN user groups.
Preferably, the method further comprises the following steps: and generating the authority file which can be identified by the SVN server according to the set authority information and the authority file format appointed by the SVN server.
Preferably, the method further comprises the following steps: and the persistent storage comprises SVN (singular value decomposition) library user data, user group data, SVN library structure data and SVN authority data in a database storage mode.
Preferably, the method further comprises the following steps: SVN domain authentication service step: providing SVN domain authentication authority service;
and (3) SVN authority file exporting: and pushing the authority file generated in the SVN user authority management to a path position appointed in the SVN code library.
Preferably, the method further comprises the following steps: providing SVN library creation and deletion services to one or more SVN code servers through an SVN code library interface;
providing SVN library item creation, deletion, deactivation and activation services to one or more SVN code servers through an SVN library item interface;
SVN library directory creation, deletion, deactivation and activation services are provided to one or more SVN code servers through an SVN directory interface.
According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as set forth above.
Compared with the prior art, the invention has the following beneficial effects:
the invention solves the problems that the management mode of the service authority file of the SVN code library is easy to be wrong and is not visual, the reconstruction caused by the authority change is too complex, users, user groups, the SVN library, project establishment, deletion and the like can not be shared in a plurality of SVN servers and SVN libraries, and the like, which need to be operated by an administrator through a command line, by combining a plurality of common technologies of Windows domain service, SVN code library service and WEB management service based on B/S architecture, and achieves the novel management method with high efficiency, intuition and high safety.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a flow chart of a domain services and SVN-based code authority WEB management method;
FIG. 2 is a schematic diagram of a domain services and SVN-based code authority WEB management system;
FIG. 3 is a diagram of a domain services and SVN-based code rights Web management system.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
Example 1
The invention combines a plurality of common technologies of Windows domain service, SVN code library service and WEB management service based on B/S architecture to develop a more convenient, more efficient and cleaner code and electronic document library management system and method.
The invention solves the problems that the management mode of the service authority file of the SVN code library is easy to be wrong and is not visual, the reconstruction caused by the authority change is too complex, users, user groups, the SVN library, project establishment, deletion and the like can not be shared in a plurality of SVN servers and SVN libraries, and the like, which need to be operated by an administrator through a command line, by combining a plurality of common technologies of Windows domain service, SVN code library service and WEB management service based on B/S architecture, and achieves the novel management method with high efficiency, intuition and high safety.
According to the code authority WEB management method based on domain service and SVN provided by the invention, as shown in FIG. 1, the method comprises the following steps:
step M1: synchronously updating user data information of the SVN base based on the preset Windows domain user data in one or more Windows domain servers;
step M2: setting a distribution role, wherein the distribution role comprises the following steps: an administrator, a configuration administrator, and a common SVN user;
step M3: initializing an administrator based on the user data information of the SVN library;
step M4: the administrator allocates and configures the administrator according to the business requirement and the organization architecture;
step M5: establishing and managing a plurality of SVN code libraries, and setting one or more configuration administrators for each SVN code library by an administrator;
step M6: establishing and managing one or more SVN library items under an SVN code library;
step M7: creating and managing one or more SVN library directories in the SVN library entries;
step M8: and the configuration administrator set by the SVN code library distributes the authority to the SVN library items under the SVN code library and the common SVN users of the SVN library catalog.
Specifically, the step M1 includes: and synchronously updating the SVN library user data information in the persistent database based on the preset Windows domain user data in one or more Windows domain servers.
Specifically, the step M1 includes: and carrying out SVN library user data information and SVN library user state updating on the established SVN library users through the imported windows domain user data.
Specifically, the method further comprises the following steps: and establishing an SVN user group according to the operation authority, the access authority and the affiliated project group of the users and the SVN library users which are imported, and distributing the SVN user group and the affiliated relation of the SVN users.
Specifically, the step M8 includes: and the authority distribution is to assign one or more SVN users or SVN user groups to the SVN code library, the SVN library items and the SVN directory, and assign read-only, read-write and/or deletion authorities to the SVN users and the SVN user groups.
Specifically, the method further comprises the following steps: and generating the authority file which can be identified by the SVN server according to the set authority information and the authority file format appointed by the SVN server.
Specifically, the method further comprises the following steps: and the persistent storage comprises SVN (singular value decomposition) library user data, user group data, SVN library structure data and SVN authority data in a database storage mode.
Specifically, the method further comprises the following steps: SVN domain authentication service step: providing SVN domain authentication authority service;
and (3) SVN authority file exporting: and pushing the authority file generated in the SVN user authority management to a path position appointed in the SVN code library.
Specifically, the method further comprises the following steps: providing SVN library creation and deletion services to one or more SVN code servers through an SVN code library interface;
providing SVN library item creation, deletion, deactivation and activation services to one or more SVN code servers through an SVN library item interface;
SVN library directory creation, deletion, deactivation and activation services are provided to one or more SVN code servers through an SVN directory interface.
According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as set forth above.
Example 2
Example 2 is a modification of example 1
A code authority WEB management system based on windows domain service and SVN code base comprises: as shown in figures 2 to 3 of the drawings,
and the Windows domain user synchronization can establish SVN library user data information in a persistent database by synchronizing domain user data in one or more appointed Windows domain servers, and can update the state and the authority of the established SVN library users by the imported domain user data.
The SVN user WEB management module comprises SVN library user management, user role distribution and SVN user group management;
the SVN library user management is used for modifying SVN library user data information and SVN library user states;
the user role allocation is used for performing role allocation on the imported SVN library users, and allocable roles are mainly a system administrator, a configuration administrator and common SVN users;
the SVN user group management is mainly used for establishing the SVN user group according to the imported SVN library users and the information of the operation authority, the access authority, the affiliated project group and the like of the users and distributing the SVN user group and the affiliated relation of the SVN users.
The SVN library structure web management module comprises SVN code library management, SVN library item management and SVN directory management;
the SVN code library management is used for establishing and managing a plurality of SVN code libraries and setting one or more configuration administrators for each SVN code library;
the SVN library item management is used for establishing and managing one or more SVN items under an SVN code library;
SVN directory management is used to create and manage one or more SVN folders in an SVN project or SVN directory.
SVN user authority management, including SVN user access authority setting and authority file generation;
the SVN user permission setting is used for configuring management personnel to carry out permission distribution on the SVN code library, the SVN library items and the SVN directory added in the SVN library structure web management module, and the permission distribution mainly comprises the steps of appointing one or more SVN users or SVN user groups for the SVN code library, the SVN library items and the SVN directory and appointing read-only, read-write and deletion permissions for SVN users and user groups;
and the authority file generation is used for generating the authority information set in the system into the authority file which can be recognized by the SVN server according to the authority file format specified by the SVN server.
And the database service module is used for persistently storing the SVN database user data, the user group data, the SVN database structure data, the SVN database authority data and the like in a database storage mode.
The SVN library service module comprises an SVN domain authentication service, an SVN code library interface, an SVN library item interface, an SVN directory interface and an SVN authority file export;
the SVN domain authentication service is used for providing SVN domain authentication authority service for the system;
the SVN code library interface is used for providing SVN library creating and deleting services for one or more SVN code servers;
the SVN library item interface is used for providing services of creating, deleting, deactivating and activating the SVN library items for one or more SVN code servers;
the SVN directory interface is used for providing SVN library directory creation, deletion, deactivation and activation services for one or more SVN code servers;
the SVN rights file export is used for providing the system with a path position for pushing the rights file generated in the SVN user rights management to the SVN code base.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.
Claims (10)
1. A code authority WEB management method based on domain service and SVN is characterized by comprising the following steps:
step M1: synchronously updating user data information of the SVN base based on the preset Windows domain user data in one or more Windows domain servers;
step M2: setting a distribution role, wherein the distribution role comprises the following steps: an administrator, a configuration administrator, and a common SVN user;
step M3: initializing an administrator based on the user data information of the SVN library;
step M4: the administrator allocates and configures the administrator according to the business requirement and the organization architecture;
step M5: establishing and managing a plurality of SVN code libraries, and setting one or more configuration administrators for each SVN code library by an administrator;
step M6: establishing and managing one or more SVN library items under an SVN code library;
step M7: creating and managing one or more SVN library directories in the SVN library entries;
step M8: and the configuration administrator set by the SVN code library distributes the authority to the SVN library items under the SVN code library and the common SVN users of the SVN library catalog.
2. The domain services and SVN based code permission WEB management method according to claim 1, wherein said step M1 comprises: and synchronously updating the SVN library user data information in the persistent database based on the preset Windows domain user data in one or more Windows domain servers.
3. The domain services and SVN based code permission WEB management method according to claim 1, wherein said step M1 comprises: and carrying out SVN library user data information and SVN library user state updating on the established SVN library users through the imported windows domain user data.
4. The code authority WEB management method based on domain services and SVN of claim 1, further comprising: and establishing an SVN user group according to the operation authority, the access authority and the affiliated project group of the users and the SVN library users which are imported, and distributing the SVN user group and the affiliated relation of the SVN users.
5. The domain services and SVN-based code permission WEB management method of claim 3, wherein said step M8 comprises: and the authority distribution is to assign one or more SVN users or SVN user groups to the SVN code library, the SVN library items and the SVN directory, and assign read-only, read-write and/or deletion authorities to the SVN users and the SVN user groups.
6. The code authority WEB management method based on domain services and SVN of claim 1, further comprising: and generating the authority file which can be identified by the SVN server according to the set authority information and the authority file format appointed by the SVN server.
7. The code authority WEB management method based on domain services and SVN of claim 1, further comprising: and the persistent storage comprises SVN (singular value decomposition) library user data, user group data, SVN library structure data and SVN authority data in a database storage mode.
8. The code authority WEB management method based on domain services and SVN of claim 1, further comprising: SVN domain authentication service step: providing SVN domain authentication authority service;
and (3) SVN authority file exporting: and pushing the authority file generated in the SVN user authority management to a path position appointed in the SVN code library.
9. The code authority WEB management method based on domain services and SVN of claim 1, further comprising: providing SVN library creation and deletion services to one or more SVN code servers through an SVN code library interface;
providing SVN library item creation, deletion, deactivation and activation services to one or more SVN code servers through an SVN library item interface;
SVN library directory creation, deletion, deactivation and activation services are provided to one or more SVN code servers through an SVN directory interface.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110120094.6A CN112783545A (en) | 2021-01-28 | 2021-01-28 | Domain service and SVN-based code authority WEB management method and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110120094.6A CN112783545A (en) | 2021-01-28 | 2021-01-28 | Domain service and SVN-based code authority WEB management method and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112783545A true CN112783545A (en) | 2021-05-11 |
Family
ID=75759458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110120094.6A Pending CN112783545A (en) | 2021-01-28 | 2021-01-28 | Domain service and SVN-based code authority WEB management method and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112783545A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452907A (en) * | 2016-11-03 | 2017-02-22 | 许继集团有限公司 | Configuration management system |
CN107517124A (en) * | 2017-07-18 | 2017-12-26 | 交控科技股份有限公司 | Method and device based on Transmission Control Protocol Remote configuration Version Management Software SVN authorities |
CN111291330A (en) * | 2020-02-17 | 2020-06-16 | 苏州亿歌网络科技有限公司 | SVN authority management method, SVN authority management device, computer equipment and storage medium |
-
2021
- 2021-01-28 CN CN202110120094.6A patent/CN112783545A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452907A (en) * | 2016-11-03 | 2017-02-22 | 许继集团有限公司 | Configuration management system |
CN107517124A (en) * | 2017-07-18 | 2017-12-26 | 交控科技股份有限公司 | Method and device based on Transmission Control Protocol Remote configuration Version Management Software SVN authorities |
CN111291330A (en) * | 2020-02-17 | 2020-06-16 | 苏州亿歌网络科技有限公司 | SVN authority management method, SVN authority management device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7219234B1 (en) | System and method for managing access rights and privileges in a data processing system | |
US20030115179A1 (en) | Configuration management for group policies | |
CN102999369A (en) | Method and device for upgrading virtual machines | |
CN102110121A (en) | Method and system for processing data | |
CN111427491A (en) | Method and device for configuring system background menu button | |
CN111291408B (en) | Data management method and device and electronic equipment | |
US8561053B2 (en) | Method and system for managing a computer system | |
CN111177698B (en) | Processing method and device of portal system and computer equipment | |
CN111581650A (en) | Service system authority management method, system and electronic equipment | |
US20220207165A1 (en) | Information processing method, system, electronic device and computer readable storage medium | |
CN106648964A (en) | Database backup method and system | |
CN111124598B (en) | Virtual desktop software management method and system | |
CN112783545A (en) | Domain service and SVN-based code authority WEB management method and medium | |
CN112783546A (en) | Code authority WEB management system based on domain service and SVN | |
CN1553380A (en) | Database use authority controlling system and method | |
CN106302473A (en) | The duplication maintaining method of a kind of SQL Server data base and system | |
CN115658791A (en) | Ground application management control system and method | |
CN103793264A (en) | Method for achieving central management of desktop virtualization off-line desktop | |
CN110637294A (en) | Data distributed integration management system | |
CN112766805A (en) | Production process informatization management system and method | |
CN112231725A (en) | Method for rapidly dividing software permission | |
CN101488099A (en) | Method and apparatus for centralized user information management | |
CN117034233B (en) | Application management method and device based on permission, computing equipment and storage medium | |
CN113449035B (en) | Data synchronization method, device, computer equipment and readable storage medium | |
JP2002049485A (en) | Software distribution system |
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 |