CN111291330A - SVN authority management method, SVN authority management device, computer equipment and storage medium - Google Patents

SVN authority management method, SVN authority management device, computer equipment and storage medium Download PDF

Info

Publication number
CN111291330A
CN111291330A CN202010096762.1A CN202010096762A CN111291330A CN 111291330 A CN111291330 A CN 111291330A CN 202010096762 A CN202010096762 A CN 202010096762A CN 111291330 A CN111291330 A CN 111291330A
Authority
CN
China
Prior art keywords
authority
information
managed
svn
configuration file
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
Application number
CN202010096762.1A
Other languages
Chinese (zh)
Inventor
宋大伟
熊浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Yige Network Technology Co ltd
Original Assignee
Suzhou Yige Network Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Yige Network Technology Co ltd filed Critical Suzhou Yige Network Technology Co ltd
Priority to CN202010096762.1A priority Critical patent/CN111291330A/en
Publication of CN111291330A publication Critical patent/CN111291330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing 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/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method and a device for SVN authority management, computer equipment and a storage medium, wherein the method comprises the following steps: receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction; acquiring current authority associated information from an authority storage database; automatically generating an authority configuration file according to the authority information to be managed and the current authority associated information; and sending the authority configuration file to a version control System (SVN) server. The technical scheme of the embodiment of the invention can realize automatic management of the SVN authority so as to improve the SVN authority management efficiency.

Description

SVN authority management method, SVN authority management device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of user authority management, in particular to a method and a device for SVN authority management, computer equipment and a storage medium.
Background
Currently, when performing SVN (version control system) authority management, an authority management worker typically logs in a configuration library server to manually edit an authority file of a configuration library to achieve the purpose of managing authority, and there is a risk that the SVN configuration library cannot be accessed due to miswriting easily, and the management efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for SVN authority management, computer equipment and a storage medium, which are used for realizing automatic management of SVN authority so as to improve the SVN authority management efficiency.
In a first aspect, an embodiment of the present invention provides an SVN authority management method, including:
receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction;
acquiring current authority associated information from an authority storage database;
automatically generating an authority configuration file according to the authority information to be managed and the current authority associated information;
and sending the authority configuration file to an SVN server.
In a second aspect, an embodiment of the present invention further provides an SVN authority management apparatus, including:
the management system comprises a to-be-managed authority information acquisition module, a management module and a management module, wherein the to-be-managed authority information acquisition module is used for receiving an authority generation instruction input by an authority management user and acquiring to-be-managed authority information according to the authority generation instruction;
the current authority associated information acquisition module is used for acquiring current authority associated information from the authority storage database;
the authority configuration file generating module is used for automatically generating an authority configuration file according to the information of the authority to be managed and the current authority associated information;
and the authority configuration file sending module is used for sending the authority configuration file to the SVN server.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the SVN rights management method provided by any of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the SVN right management method provided in any embodiment of the present invention.
According to the embodiment of the invention, the authority information to be managed is obtained according to the received authority generation instruction input by the authority management user, the current authority associated information is obtained from the authority storage database, and the authority configuration file is automatically generated according to the authority information to be managed and the current authority associated information, so that the authority configuration file is sent to the SVN server, the problems of easy error, low management efficiency and the like of the conventional manual SVN authority management method are solved, the automatic management of the SVN authority is realized, and the SVN authority management efficiency is improved.
Drawings
FIG. 1a is a flowchart of a SVN rights management method according to an embodiment of the present invention;
fig. 1b is a schematic flowchart of an SVN right management method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an SVN right management apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1a is a flowchart of an SVN privilege management method according to an embodiment of the present invention, which is applicable to a situation of automatically managing SVN privileges, and the method can be executed by an SVN privilege management apparatus, which can be implemented by software and/or hardware, and can be generally integrated in a computer device. Accordingly, as shown in fig. 1a, the method comprises the following operations:
s110, receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction.
The right management user may be a user with SVN right management right. The privilege generation instruction may be an instruction entered by a privilege management user for modifying the SVN privileges of a user or users. The information of the right to be managed may be the information of the right that the right management user needs to manage, such as deleting the viewing right of a certain user, or adding the read-write right of a certain user.
In the embodiment of the invention, the automatic management of the SVN authority can be realized through the SVN configuration management system. Specifically, the SVN configuration management system may receive an authority generation instruction input by an authority management user, and obtain the information of the authority to be managed according to the received authority generation instruction.
And S120, acquiring current authority associated information from the authority storage database.
S130, automatically generating an authority configuration file according to the information of the authority to be managed and the current authority associated information.
The authority storage database may be a database for storing user SVN authority information, for example, a file database and the like may be used as the authority storage database, and the embodiment of the present invention does not limit the specific type of the authority storage database. The current authority associated information may be used to modify the relevant information of the SVN authority of the user, such as the authority information to be modified and the corresponding user information. The authority configuration file is a configuration file of the SVN and is used for managing the authority of the SVN.
Correspondingly, after the SVN configuration management system obtains the to-be-managed authority information, the SVN configuration management system can obtain the current authority associated information from the authority storage database so as to automatically generate the authority configuration file according to the to-be-managed authority information and the current authority associated information, and the authority configuration file does not need to be manually modified by an authority management user.
In an optional embodiment of the present invention, the permission generation instruction may include a user permission generation instruction; the to-be-managed authority information can comprise to-be-managed user authority information; automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, which may include: and automatically generating an authority configuration file according to the authority information of the user to be managed and the current authority associated information.
In an optional embodiment of the present invention, the permission generation instruction may include a batch user permission generation instruction; the authority information to be managed can comprise batch user authority information to be managed; automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, which may include: and automatically generating an authority configuration file according to the batch user authority information to be managed and the current authority associated information.
In an optional embodiment of the present invention, the permission generation instruction may include a global user permission generation instruction; the to-be-managed authority information may include to-be-managed global user authority information; automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, which may include: and automatically generating an authority configuration file according to the global user authority information to be managed and the current authority associated information.
In the embodiment of the invention, three different types of SVN authority management modes can be realized. That is, the right management user may input a user right generation instruction, a batch user right generation instruction, and a global user right generation instruction. Correspondingly, the rights information to be managed may include rights information of users to be managed, batch rights information of users to be managed, and global rights information to be managed. The user authority generating instruction can be used for managing the SVN authority of a certain user, and the user authority information to be managed is the SVN authority information which needs to be managed by the certain user; the batch user authority generation instruction can be used for simultaneously managing the SVN authorities of a plurality of users, and the batch user authority information to be managed is different SVN authority information which needs to be managed by the plurality of users; the global user authority generation instruction may be used to perform one-key management on all SVN authorities of a certain user, and the global user authority information to be managed is all SVN authority information that a certain user needs to manage. It should be noted that, a default configuration file generation rule is built in the SVN, so that the SVN configuration management system may adopt the default configuration file generation rule built in the SVN, and automatically generate the authority configuration file according to the to-be-managed user authority information, the to-be-managed batch user authority information, the to-be-managed global user authority information, the waiting management authority information, and the current authority associated information.
And S140, sending the authority configuration file to an SVN server.
After the SVN configuration management system generates the authority configuration file, the authority configuration file can be sent to the SVN server, so that the SVN server modifies the SVN authority of the corresponding user according to the received authority configuration file.
In an optional embodiment of the invention, the method may further comprise: receiving an SVN service detection instruction input by the authority management user; detecting the SVN running state according to the SVN service detection instruction; and providing the detection result to the authority management user.
The SVN service detection instruction may be an instruction for performing state detection on the SVN service.
In an optional embodiment of the present invention, the current permission associated information includes current permission information and current user information; obtaining the current permission associated information from the permission storage database may include: accessing domain service through the authority storage database to acquire the current user information; the domain service is a domain service of LDAP (Lightweight directory Access Protocol); and acquiring the current authority information locally stored in the authority storage database and the current user information acquired by the authority storage database from the authority storage database as the current authority management information.
The current user information may be user information matched with the rights information to be managed. For example, when the to-be-managed authority information is the to-be-managed user authority information, the current user information may be related information of the to-be-managed user, such as a user position, a department to which the user belongs, a contact information, and the like. When the to-be-managed authority information is the to-be-managed batch user authority information, the current user information may be related information of the to-be-managed batch users, such as positions, affiliated departments, contact ways and the like corresponding to the multiple users respectively. When the to-be-managed authority information is global user authority information to be managed, the current user information may be related information of the to-be-managed user, such as user positions, affiliated departments, contact ways, and the like. The current rights information may be the SVN current rights information.
In an optional embodiment of the present invention, before sending the authority configuration file to the SVN server, the method may further include: and carrying out serialization processing on the authority configuration file, and backing up and storing the obtained serialized file object into an appointed directory.
In order to realize the file-back function of the authority configuration file, after the SVN configuration management system generates the authority configuration file, the generated authority configuration file may be serialized, and the obtained serialized file object is backed up and stored in a designated directory, so that the authority configuration file of the old version may be rolled back as needed.
Fig. 1b is a schematic flowchart of an SVN rights management method according to an embodiment of the present invention. In a specific example, as shown in fig. 1b, the administrator as the right management user can implement automatic management of the SVN right through the SVN configuration management system. Specifically, a manager can input a permission generation instruction such as user permission modification, batch management or one-key management through the SVN configuration management system, and after receiving the permission generation instruction input by the manager, the SVN configuration management system can acquire corresponding permission information to be managed, and then acquire current permission associated information through the retrieval file database. The file database can acquire domain information through domain service, and further acquire current user information through the domain information. After obtaining the current user information and the current authority information through the file database, the SVN configuration management system can automatically generate the authority configuration file according to the configuration file generation rule set by SVN default, perform serialization processing on the authority configuration file before sending the authority configuration file to the SVN server, and store the obtained serialized file object in a designated directory in a backup mode, so that the backup processing of the authority configuration file is realized, and the authority configuration file is called when the file is returned. Meanwhile, the administrator can also realize the review function of the authority configuration file through the SVN configuration management system, and the SVN configuration management system can provide visual SVN authorities to the administrator in combination with detailed user information in a form of exporting a table, so that the administrator can view the authority configuration file information more intuitively. In addition, the administrator may also send SVN service detection instructions to the SVN configuration management system. After receiving the SVN service detection instruction, the SVN configuration management system can detect the operation state of the SVN and provide the detection result to the manager so that the manager can know the operation state of the SVN in real time.
According to the embodiment of the invention, the authority information to be managed is obtained according to the received authority generation instruction input by the authority management user, the current authority associated information is obtained from the authority storage database, and the authority configuration file is automatically generated according to the authority information to be managed and the current authority associated information, so that the authority configuration file is sent to the SVN server, the problems of easy error, low management efficiency and the like of the conventional manual SVN authority management method are solved, the automatic management of the SVN authority is realized, and the SVN authority management efficiency is improved.
Example two
Fig. 2 is a schematic diagram of an SVN rights management apparatus according to a second embodiment of the present invention, as shown in fig. 2, the apparatus includes: a to-be-managed authority information obtaining module 210, a current authority associated information obtaining module 220, an authority configuration file generating module 230, and an authority configuration file sending module 240, wherein:
a to-be-managed authority information obtaining module 210, configured to receive an authority generation instruction input by an authority management user, and obtain to-be-managed authority information according to the authority generation instruction;
a current permission associated information obtaining module 220, configured to obtain current permission associated information from a permission storage database;
an authority configuration file generating module 230, configured to automatically generate an authority configuration file according to the to-be-managed authority information and the current authority associated information;
and the authority configuration file sending module 240 is configured to send the authority configuration file to the SVN server.
According to the embodiment of the invention, the authority information to be managed is obtained according to the received authority generation instruction input by the authority management user, the current authority associated information is obtained from the authority storage database, and the authority configuration file is automatically generated according to the authority information to be managed and the current authority associated information, so that the authority configuration file is sent to the SVN server, the problems of easy error, low management efficiency and the like of the conventional manual SVN authority management method are solved, the automatic management of the SVN authority is realized, and the SVN authority management efficiency is improved.
Optionally, the authority generation instruction includes a user authority generation instruction; the authority information to be managed comprises authority information of a user to be managed; the authority configuration file generating module 230 includes a first authority configuration file generating unit, configured to automatically generate an authority configuration file according to the authority information of the user to be managed and the current authority associated information.
Optionally, the permission generation instruction includes a batch user permission generation instruction; the authority information to be managed comprises batch user authority information to be managed; the authority configuration file generating module 230 includes a second authority configuration file generating unit, configured to automatically generate an authority configuration file according to the to-be-managed batch user authority information and the current authority associated information.
Optionally, the authority generation instruction includes a global user authority generation instruction; the authority information to be managed comprises global user authority information to be managed; the authority configuration file generating module 230 includes a third authority configuration file generating unit, configured to automatically generate an authority configuration file according to the global user authority information to be managed and the current authority associated information.
Optionally, the apparatus further comprises: the SVN service detection instruction receiving module is used for receiving the SVN service detection instruction input by the authority management user; the SVN operation state detection module is used for detecting the SVN operation state according to the SVN service detection instruction; and the detection result providing module is used for providing the detection result to the authority management user.
Optionally, the current permission associated information includes current permission information and current user information; the current right associated information obtaining module 220 includes: a current user information obtaining unit, configured to obtain the current user information through the permission storage database access domain service; wherein the domain service is a Lightweight Directory Access Protocol (LDAP) -based domain service; a current authority management information obtaining unit, configured to obtain, from the authority storage database, the current authority information locally stored in the authority storage database and the current user information obtained by the authority storage database as the current authority management information.
Optionally, the apparatus further comprises: and the authority configuration file processing module is used for carrying out serialization processing on the authority configuration file and storing the obtained serialized file object backup into an appointed directory.
The SVN authority management device can execute the SVN authority management method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the SVN right management method provided in any embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
Since the SVN authority management device described above is a device capable of executing the SVN authority management method in the embodiment of the present invention, based on the SVN authority management method described in the embodiment of the present invention, those skilled in the art can understand the specific implementation manner of the SVN authority management device in the embodiment and various variations thereof, and therefore, how the SVN authority management device implements the SVN authority management method in the embodiment of the present invention is not described in detail herein. The device used by those skilled in the art to implement the SVN right management method in the embodiments of the present invention is within the scope of the present application.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention. The computer device 312 shown in FIG. 3 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 3, computer device 312 is in the form of a general purpose computing device. The components of computer device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The computer device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with the computer device 312, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 312 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 322. Also, computer device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), etc.) and/or a public Network, such as the internet, via Network adapter 320. As shown, network adapter 320 communicates with the other modules of computer device 312 via bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 316 executes various functional applications and data processing by running programs stored in the storage 328, for example, implementing the SVN right management method provided by the above-described embodiments of the present invention.
That is, the processing unit implements, when executing the program: receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction; acquiring current authority associated information from an authority storage database; automatically generating an authority configuration file according to the authority information to be managed and the current authority associated information; and sending the authority configuration file to a version control System (SVN) server.
Example four
An embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is executed by a computer processor to perform the SVN right management method according to any one of the above embodiments of the present invention: receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction; acquiring current authority associated information from an authority storage database; automatically generating an authority configuration file according to the authority information to be managed and the current authority associated information; and sending the authority configuration file to a version control System (SVN) server.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An SVN rights management method, comprising:
receiving an authority generation instruction input by an authority management user, and acquiring to-be-managed authority information according to the authority generation instruction;
acquiring current authority associated information from an authority storage database;
automatically generating an authority configuration file according to the authority information to be managed and the current authority associated information;
and sending the authority configuration file to a version control System (SVN) server.
2. The method of claim 1, wherein the permission generation instruction comprises a user permission generation instruction; the authority information to be managed comprises authority information of a user to be managed;
automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, wherein the authority configuration file comprises:
and automatically generating the authority configuration file according to the authority information of the user to be managed and the current authority associated information.
3. The method of claim 1, wherein the permission generation instructions comprise bulk user permission generation instructions; the authority information to be managed comprises batch user authority information to be managed;
automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, wherein the authority configuration file comprises:
and automatically generating the authority configuration file according to the batch user authority information to be managed and the current authority associated information.
4. The method of claim 1, wherein the permission generation instruction comprises a global user permission generation instruction; the authority information to be managed comprises global user authority information to be managed;
automatically generating an authority configuration file according to the to-be-managed authority information and the current authority associated information, wherein the authority configuration file comprises:
and automatically generating the authority configuration file according to the global user authority information to be managed and the current authority associated information.
5. The method of claim 1, further comprising:
receiving an SVN service detection instruction input by the authority management user;
detecting the SVN running state according to the SVN service detection instruction;
and providing the detection result to the authority management user.
6. The method according to any one of claims 1-5, wherein the current rights association information comprises current rights information and current user information;
obtaining current authority associated information from an authority storage database, including:
accessing domain service through the authority storage database to acquire the current user information; wherein the domain service is a Lightweight Directory Access Protocol (LDAP) -based domain service;
and acquiring the current authority information locally stored in the authority storage database and the current user information acquired by the authority storage database from the authority storage database as the current authority management information.
7. The method according to any one of claims 1-5, further comprising, prior to sending the privilege configuration file to the SVN server:
and carrying out serialization processing on the authority configuration file, and backing up and storing the obtained serialized file object into an appointed directory.
8. An SVN rights management apparatus, comprising:
the management system comprises a to-be-managed authority information acquisition module, a management module and a management module, wherein the to-be-managed authority information acquisition module is used for receiving an authority generation instruction input by an authority management user and acquiring to-be-managed authority information according to the authority generation instruction;
the current authority associated information acquisition module is used for acquiring current authority associated information from the authority storage database;
the authority configuration file generating module is used for automatically generating an authority configuration file according to the information of the authority to be managed and the current authority associated information;
and the authority configuration file sending module is used for sending the authority configuration file to the SVN server.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the SVN rights management method of any of claims 1-7.
10. A computer storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the SVN rights management method of any one of claims 1-7.
CN202010096762.1A 2020-02-17 2020-02-17 SVN authority management method, SVN authority management device, computer equipment and storage medium Pending CN111291330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010096762.1A CN111291330A (en) 2020-02-17 2020-02-17 SVN authority management method, SVN authority management device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010096762.1A CN111291330A (en) 2020-02-17 2020-02-17 SVN authority management method, SVN authority management device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111291330A true CN111291330A (en) 2020-06-16

Family

ID=71024527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010096762.1A Pending CN111291330A (en) 2020-02-17 2020-02-17 SVN authority management method, SVN authority management device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111291330A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015464A (en) * 2020-09-02 2020-12-01 中国银行股份有限公司 SVN warehouse authority management method and device
CN112181480A (en) * 2020-09-29 2021-01-05 北京达佳互联信息技术有限公司 Authority management method and device of version management system
CN112613818A (en) * 2020-12-24 2021-04-06 深圳大学 Tracking method, device, equipment and storage medium of prefabricated part
CN112783546A (en) * 2021-01-28 2021-05-11 杉德银卡通信息服务有限公司 Code authority WEB management system based on domain service and SVN
CN112783545A (en) * 2021-01-28 2021-05-11 杉德银卡通信息服务有限公司 Domain service and SVN-based code authority WEB management method and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166911A (en) * 2011-12-09 2013-06-19 阿里巴巴集团控股有限公司 Version management server authority management method and version management server authority management equipment
CN108377228A (en) * 2018-01-18 2018-08-07 网易(杭州)网络有限公司 A kind of right management method and device, server
CN109725930A (en) * 2018-12-14 2019-05-07 深圳壹账通智能科技有限公司 SVN right management method and its device based on web platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166911A (en) * 2011-12-09 2013-06-19 阿里巴巴集团控股有限公司 Version management server authority management method and version management server authority management equipment
CN108377228A (en) * 2018-01-18 2018-08-07 网易(杭州)网络有限公司 A kind of right management method and device, server
CN109725930A (en) * 2018-12-14 2019-05-07 深圳壹账通智能科技有限公司 SVN right management method and its device based on web platform

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015464A (en) * 2020-09-02 2020-12-01 中国银行股份有限公司 SVN warehouse authority management method and device
CN112015464B (en) * 2020-09-02 2023-12-26 中国银行股份有限公司 SVN warehouse authority management method and device
CN112181480A (en) * 2020-09-29 2021-01-05 北京达佳互联信息技术有限公司 Authority management method and device of version management system
CN112613818A (en) * 2020-12-24 2021-04-06 深圳大学 Tracking method, device, equipment and storage medium of prefabricated part
CN112783546A (en) * 2021-01-28 2021-05-11 杉德银卡通信息服务有限公司 Code authority WEB management system based on domain service and SVN
CN112783545A (en) * 2021-01-28 2021-05-11 杉德银卡通信息服务有限公司 Domain service and SVN-based code authority WEB management method and medium

Similar Documents

Publication Publication Date Title
CN111291330A (en) SVN authority management method, SVN authority management device, computer equipment and storage medium
US8701001B2 (en) Screen capture
CN111680313B (en) Data processing method, device, equipment and storage medium
CN110428319B (en) Data comparison platform, method, equipment and storage medium
CN114925084B (en) Distributed transaction processing method, system, equipment and readable storage medium
CN111818145B (en) File transmission method, device, system, equipment and storage medium
US9411974B2 (en) Managing document revisions
CN110569266A (en) Data query method, device, equipment and storage medium
CN111241043A (en) Multimedia file sharing method, terminal and storage medium
CN110825802A (en) Multi-type database data backup method, device, equipment and storage medium
CN108399128A (en) A kind of generation method of user data, device, server and storage medium
CN112069158A (en) Data restoration method, device, equipment and storage medium
CN112506490A (en) Interface generation method and device, electronic equipment and storage medium
CN110855658B (en) Service login method, device, equipment and storage medium
CN110096543B (en) Data operation method, device, server and medium of application program
CN111489139A (en) Order payment method, device, equipment and medium based on big data
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
CN109189332A (en) A kind of disk hanging method, device, server and storage medium
US9323934B2 (en) Managing and tracking commands associated with a change on a computer system
CN111262727B (en) Service capacity expansion method, device, equipment and storage medium
CN112000491B (en) Application program interface calling method, device, equipment and storage medium
CN110806981B (en) Application program testing method, device, equipment and storage medium
CN109241059A (en) A kind of building method of point cloud data, device, electronic equipment and storage medium
CN114490266A (en) Data acquisition method, device, equipment and storage medium
CN115374074A (en) Log processing method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200616

RJ01 Rejection of invention patent application after publication