CN109725930A - SVN right management method and its device based on web platform - Google Patents
SVN right management method and its device based on web platform Download PDFInfo
- Publication number
- CN109725930A CN109725930A CN201811535297.6A CN201811535297A CN109725930A CN 109725930 A CN109725930 A CN 109725930A CN 201811535297 A CN201811535297 A CN 201811535297A CN 109725930 A CN109725930 A CN 109725930A
- Authority
- CN
- China
- Prior art keywords
- svn
- personnel
- file
- rights management
- authority
- 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
Abstract
The present invention provides a kind of SVN right management method and its device based on web platform, which comprises establishes SVN rights management interface using web platform, includes group, personnel and file directory in the rights management interface;Access authority under file directory is set in the rights management interface;Group is divided to the personnel according to the access authority in the rights management interface;The external competence profile independently of SVN is generated according to the access authority and the grouping;The external competence profile is pushed into SVN server.The present invention prevents the defect due to being caused rights management chaotic Edit Error and be difficult to search without directly modifying text in the configuration file inside SVN.The present invention by the setting of outer interface so that the more flexible convenience of DRM operations, to greatly improve the working efficiency of SVN version management.
Description
Technical field
The present invention relates to technical field of software development more particularly to a kind of SVN right management method based on web platform,
Device, computer equipment and storage medium.
Background technique
SVN (Subversion, version control system) is a cross-platform software, supports most of common operation systems
System.The version control system increased income as one, Subversion manage the data changed over time.These data are placed on one
In a center repository (repositary).This file store is like a common file server, but it can remember
The firmly variation of file each time.It thus can be file access pattern to old version, or the variation history of browsing file.
It is all some specific file of opening, such as authz.conf text at present when needing to carry out authority configuration to SVN
Part is directly edited in this document.However the defect done so is to be easy to cause Edit Error, to cause rights management
On confusion.
Summary of the invention
The object of the present invention is to provide a kind of SVN right management method based on web platform, device, computer equipment and
Storage medium, it is of the existing technology for solving the problems, such as.
To achieve the above object, the present invention provides a kind of SVN right management method based on web platform, comprising:
SVN rights management interface is established using web platform, includes group, personnel and file in the rights management interface
Catalogue;
Access authority under file directory is set in the rights management interface;
Group is divided to the personnel according to the access authority in the rights management interface;
The external competence profile independently of SVN is generated according to the access authority and the group;
The external competence profile is pushed into SVN server.
Further, the setting rule of the access authority are as follows: determine the personnel to file directory according to different responsibilities
Under file item enforcement power;The access authority includes: to have read-only authority to the file item under file directory, to file
File item under catalogue has deletion permission with modification authority and to the file item under file directory.
Further, it is described according to the access authority to the personnel divide group include: will be with read-only authority
Personnel are divided into Band 1, the personnel with modification authority are divided into the second group, and will have the people for deleting permission
Member is divided into third group.
Further, the personnel with multiple permissions are divided into multiple groups simultaneously.
In order to achieve the above object, the present invention also provides a kind of SVN rights management device based on web platform, comprising:
Interface establishing module, suitable for establishing SVN rights management interface using web platform, in the rights management interface
Including group, personnel and file directory;
Priority assignation module, suitable for the access authority being arranged under file directory the rights management interface;
Grouping module, suitable for the rights management interface according to the access authority to personnel's division group
Not;
Profile module, suitable for generating the external permission independently of SVN according to the access authority and the grouping
Configuration file;
Pushing module, suitable for the external competence profile is pushed to SVN server.
Further, the setting rule of the access authority are as follows: determine the personnel to file directory according to different responsibilities
Under file item enforcement power;The access authority includes: to have read-only authority to the file item under file directory, to file
File item under catalogue has deletion permission with modification authority and to the file item under file directory.
Further, the grouping module includes:
First grouping module, suitable for will have the personnel of read-only authority to be divided into Band 1;
Second packet module, suitable for the personnel with modification authority are divided into the second group;
Third grouping module, suitable for will have the personnel for deleting permission to be divided into third group.
Further, the personnel with multiple permissions are divided into multiple groups simultaneously.
To achieve the above object, it the present invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized above-mentioned when executing the computer program
The step of method.
To achieve the above object, the present invention also provides computer readable storage mediums, are stored thereon with computer program, institute
State the step of above method is realized when computer program is executed by processor.
SVN right management method, device, computer equipment and storage medium provided by the invention based on web platform leads to
It crosses exploitation external system to carry out interfaceization management to SVN, the different other access authority of group under file directory is set, and by personnel
It is divided into corresponding group, the exterior arrangement file independently of SVN is generated according to above-mentioned access authority and grouping information, and should
External file pushes to SVN server to realize rights management function.The present invention is without direct in the configuration file inside SVN
Text is modified, the defect due to causing rights management chaotic Edit Error and be difficult to search is prevented.The present invention passes through outer
The setting at portion interface is so that the more flexible convenience of DRM operations, to greatly improve the working efficiency of SVN version management.
Detailed description of the invention
Fig. 1 is the flow chart of SVN right management method embodiment one of the present invention;
Fig. 2 is the program module schematic diagram of SVN rights management Installation practice one of the present invention;
Fig. 3 is the hardware structural diagram of SVN rights management Installation practice one of the present invention;
Fig. 4 is the flow chart of SVN right management method embodiment two of the present invention;
Fig. 5 is the program module schematic diagram of SVN rights management Installation practice two of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It is soft to be suitable for computer for SVN right management method, device, computer equipment and storage medium provided by the invention
Part development technique field provides a kind of method and device thereof that rights management is carried out by outer interface for SVN server.Pass through
Exploitation external system to carry out SVN interfaceization management, and difference under file directory is arranged and organizes other access authority, and personnel are drawn
It is divided into corresponding group, the exterior arrangement file independently of SVN is generated according to above-mentioned access authority and grouping information, and this is outer
Portion's file push realizes rights management function to SVN server.The present invention in the configuration file inside SVN without directly repairing
Change text, prevents the defect due to causing rights management chaotic Edit Error and be difficult to search.The present invention passes through outside
The setting at interface is so that the more flexible convenience of DRM operations, to greatly improve the working efficiency of SVN version management.
Embodiment one
Referring to Fig. 1, in a kind of SVN right management method of the present embodiment, comprising the following steps:
S1: SVN rights management interface is established using web platform, includes group, personnel and Wen in the rights management interface
Part catalogue.
Rights management, i.e., access authority different for different personnel assignments, example are carried out to version file in this step
Such as read-only, read-write and deletion permission.It is read-only file to be read and cannot arbitrarily be modified;Read-write refers to can not only
Read file content, additionally it is possible to content be written into file, that is, to the permission that file is modified;Deletion then refers to can be with
Docuterm itself is deleted.
Group, personnel and file directory in rights management interface can be added or delete according to actual needs.
The operation of both mainly including when SVN carries out rights management, first is that dividing group to participant, two are to confer to difference
Access authority of the group under specific file catalogue, therefore rights management interface of the invention is also to be allocated according to this thinking
's.For example, 5 staff such as user1, user2, user3, user4 and user5 can be added in the personnel on interface,
Group1, group2 and group3 totally 3 groups are added in group, in catalogue addition D: svndata test under conf
File authz.conf.
S2: the access authority under file directory is set in the rights management interface.
This step is for being arranged under particular category to the access rule of a certain file item.For example, certain software supplier wants
The daily uploading operation log of employee is asked, the said firm includes Shanghai branch company and Beijing Company, the work log point of each branch company
Be not stored in catalogue D: svndata Daily Record shanghai and D: svndata Daily Record Beijing it
Under, for each employee, respective log is stored in again under corresponding branch company's file, such as D: svndata Daily
Record\shanghai\user1.In this case, the purpose of this step is respectively different file directorys for difference
User grouping different permissions is set, such as read-only authority, modification authority and delete permission.
S3: group is divided to the personnel according to the access authority in the rights management interface;
Still by taking certain software supplier above as an example.Assuming that the said firm includes Shanghai branch company and Beijing Company,
Wherein Shanghai branch company have 10 employees, Beijing Company have 15 employees, responsible artificial director Chen of Shanghai branch company,
Responsible artificial director Wang of Beijing company, the responsible artificial grandson general manager of parent company, in addition there are also a network management Li works.According to people
The allocation of duties journal file access authority of member is as follows: log of each employee of branch company subordinate to oneself affiliated branch company
With read-only right, the file journalization under the director of the Shanghai branch company and Beijing Company branch company responsible to its has only
It reads and the right of modification, general manager has read-only and modification right to all journal files, network management then has All Files
The right of deletion.According to the above rule, be embodied in, the office worker Xiao Sun in the branch company of Shanghai for catalogue D: svndata
Daily Record file item under shanghai there is read-only right;Director Chen of Shanghai branch company is for catalogue D:
All Files item under svndata Daily Record shanghai has read-only right, director Wang of Beijing Company
For catalogue D: svndata Daily Record All Files item under beijing there is read-only right, general manager couple
All Files under catalogue D: svndata Daily Record have read-only and modification right, and network management Li work is for mesh
Record D: svndata All Files under Daily Record there is the right deleted.
S4: the external competence profile independently of SVN is generated according to the access authority and the grouping.
This step by under personnel's grouping information and file directory authority distribution information write-in outside competence profile
In.It is different from the direct configuration file under SVN server of the prior art, for matching for authority information to be arranged in this step
It sets file to be independently of except SVN server, by clicking setting on rights management interface, user's operation is got up a mesh
It is so more intuitive, avoid the problem of being easy error of directly modifying in the configuration file of SVN server internal.
Mainly include the following contents in exterior arrangement file of the invention still by taking above-mentioned software supplier as an example:
First, the rule being grouped to personnel is set:
[groups]
G_manager=sun
G_top_sh=chen
G_top_bj=wang
G_sh=sh1, sh2 ... sh10
G_bj=bj1, bj2 ... bj15
G_adm=li
The above code realizes the grouping to company all personnel according to permission responsibility.Company's grandson's general manager total score is to organizing g_
Manager, Shanghai branch company responsible person director Chen point to group g_top_sh, Beijing Company director Wang point to group g_top_bj,
10 employee sh1, sh2 ... sh10 of Shanghai company points of extremely group g_sh, 15 employee bj1, bj2 ... bj15 of Beijing company
Point to group bj1, bj2 ... bj15, network management Lee work point is to organizing g_adm.
Second, according to grouping setting to the access authority of file item under catalogue.
[D: svndata Daily Record]
@g_manager=rw
@g_adm=del
Group g_manager where above code setting general manager for D: svndata institute under Daily Record
There is file that there is access limit;Group g_adm where network management Li work is set for the institute under D: svndata Daily Record
There is file to have and deletes permission.
[D: svndata Daily Record shanghai]
@g_top_sh=rw;
@g_sh=r
Group g_top_sh where director Chen of above code setting Shanghai branch company is for catalogue D: svndata
Daily Record All Files item under shanghai there is access limit;Where all other employee of Shanghai branch company
Group g_sh for catalogue D: svndata Daily Record All Files item under shanghai there is read-only authority.
[D: svndata Daily Record beijing]
@g_top_bj=rw;
@g_bj=r
Group g_top_bj where director Wang of the above code setting Beijing Company is for catalogue D: svndata
Daily Record file item under beijing there is the claim of read-write;Group g_ where other all employees of Beijing Company
Bj for catalogue D: svndata Daily Record file item under beijing there is read-only permission.
S5: the external competence profile is pushed into SVN server.
The purpose of this step is the external authority configuration for above having configured grouping information and catalogue file authority information
File is sent to SVN server, and SVN server is enable to carry out corresponding permission according to the rule being arranged in exterior arrangement file
Distribution and management.In terms of sending external competence profile, such as it can use SSH agreement and transmitted.
SSH is the security protocol established on the basis of application layer and transport layer.SSH be at present it is relatively reliable, aim at and remotely step on
It records session and other network services provides the agreement of safety.It can be effectively prevented in remote management procedures using SSH agreement
Information leakage problem.
SSH is made of the software of client and server-side, is respectively there are two incompatible version: 1.x and 2.x.
Server-side is a finger daemon (daemon), he is in running background and responds the connection request from client.Server-side one
As be sshd process, provide the processing to remotely connecting, generally comprise that public key authentication, key exchange, symmetric key adds
Close and unsecured connections.Client is comprising ssh program and as scp (telecopy), slogin (telnet), sftp (peace
Whole file transmission) etc. other application programs.Their working mechanism is about local client and sends a connection request
To long-range server-side, the packet and IP address of server-side inspection application retransmit key to the client of SSH, locally again by key
Server-side is sent back to, connection is established since then.
In the present embodiment, scp order can use by exterior arrangement file push to specified folder, such as:
Scp svn.file root@192.168.1.1:/data
Data text under the server that it is 192.168.1.1 by exterior arrangement file push to IP address that the above code, which shows,
In part folder.
Corresponding tool using ssh agreement may include ansible, and the platforms such as puppet are simply introduced individually below.
A kind of configuration management of integrated IT system of Ansible, using deployment, execute particular task Open Source Platform,
Ansible is realized based on Python, by two key modules buildings of Paramiko and PyYAML.The weight of Ansible concern
Point is to make every effort to simplify and quickly, and do not need the installation agent software on node.Therefore, ansible is executed all by ssh
Function.The node for needing to manage is added to ansible configuration surroundings, and ssh authorization code key is affixed on each node, this with
The user for running ansible is related.Once completing this step, ansible primary server can be led to by ssh and node
Letter executes all necessary tasks.
Puppet is a kind of centralized configuration management system of Linux, Unix, windows platform, uses own puppet
Description language, can management configuration file, user, cron task, software package, system service etc..Puppet is these system entities
Referred to as resource, the design object of puppet are that the dependence simplified between the management of these resources and dealing carefully with resource is closed
System.Structure puppet starlike using C/S, all clients and the interaction of one or several servers.Each client period
(default half an hour) send and request to server, obtain its newest configuration information, guarantee synchronous with the configuration information.Often
A puppet client per half an hour (can be set) connects a server end, downloads newest configuration file, and stringent
Client is configured according to configuration file.
In addition to above-mentioned ansible, except puppet tool, there are also the automations such as chef, saltstack to match in the prior art
Management tool is set, user can arbitrarily select according to actual demand.
Please continue to refer to Fig. 2, a kind of rights management device is shown, in the present embodiment, rights management device 10 can be with
Including or be divided into one or more program modules, one or more program module is stored in storage medium, and by
Performed by one or more processors, to complete the present invention, and above-mentioned right management method can be realized.The so-called program of the present invention
Module is the series of computation machine program instruction section for referring to complete specific function, than program itself more suitable for describing permission pipe
Manage implementation procedure of the device 10 in storage medium.The function of each program module of the present embodiment will specifically be introduced by being described below:
Interface establishing module 11, suitable for establishing SVN rights management interface, the rights management interface using web platform
In include group, personnel and file directory;
Priority assignation module 12, suitable for the access authority being arranged under file directory the rights management interface;
Grouping module 13, suitable for being divided according to the access authority the personnel the rights management interface
Group;
Profile module 14, suitable for generating the external weight independently of SVN according to the access authority and the grouping
Limit configuration file;
Pushing module 15, suitable for the external competence profile is pushed to SVN server.
Wherein, the setting rule of the access authority are as follows: determine the personnel under file directory according to different responsibilities
The enforcement power of file item;The access authority includes: to have read-only authority to the file item under file directory, to file directory
Under file item with modification authority and to the file item under file directory have delete permission.
Wherein, described be grouped according to the access authority to the personnel comprises determining which personnel is under the jurisdiction of tool
There is the group of read-only authority, which personnel, which is under the jurisdiction of to be under the jurisdiction of to have with the group of modification authority and which personnel, deletes permission
Group.
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program
Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent
Server cluster composed by server or multiple servers) etc..The computer equipment 20 of the present embodiment includes at least but not
It is limited to: memory 21, the processor 22 of connection can be in communication with each other by system bus, as shown in Figure 3.It is pointed out that Fig. 3
The computer equipment 20 with component 21-22 is illustrated only, it should be understood that being not required for implementing all groups shown
Part, the implementation that can be substituted is more or less component.
In the present embodiment, memory 21 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, card-type memory
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD etc..In some embodiments, memory 21 can be the internal storage unit of computer equipment 20, such as the calculating
The hard disk or memory of machine equipment 20.In further embodiments, memory 21 is also possible to the external storage of computer equipment 20
The plug-in type hard disk being equipped in equipment, such as the computer equipment 20, intelligent memory card (Smart Media Card, SMC), peace
Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 can also both include meter
The internal storage unit for calculating machine equipment 20 also includes its External memory equipment.In the present embodiment, memory 21 is commonly used in storage
Be installed on the operating system and types of applications software of computer equipment 20, for example, embodiment one rights management device 10 program
Code etc..In addition, memory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU),
Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control computer equipment
20 overall operation.In the present embodiment, program code or processing data of the processor 22 for being stored in run memory 21,
Such as operation rights management device 10, to realize the right management method of embodiment one.
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD, server, App are stored thereon with computer program, phase are realized when program is executed by processor using store etc.
Answer function.The computer readable storage medium of the present embodiment is for storing rights management device 10, realization when being executed by processor
The right management method of embodiment one.
Embodiment two
Referring to Fig. 4, the right management method of the present embodiment is based on embodiment one, comprising the following steps:
S1: SVN rights management interface is established using web platform, includes group, personnel and Wen in the rights management interface
Part catalogue.
Rights management, i.e., access authority different for different personnel assignments, example are carried out to version file in this step
Such as read-only, read-write and deletion permission.It is read-only file to be read and cannot arbitrarily be modified;Read-write refers to can not only
Read file content, additionally it is possible to content be written into file, that is, to the permission that file is modified;Deletion then refers to can be with
Docuterm itself is deleted.
Group, personnel and file directory in rights management interface can be added or delete according to actual needs.
The operation of both mainly including when SVN carries out rights management, first is that being grouped to participant, two are to confer to difference
Access authority of the group under specific file catalogue, therefore rights management interface of the invention is also to be allocated according to this thinking
's.For example, 5 staff such as user1, user2, user3, user4 and user5 can be added in the personnel on interface,
Group1, group2 and group3 totally 3 groups are added in group, in catalogue addition D: svndata test under conf
File authz.conf.
S2: the access authority under file directory is set in the rights management interface.
This step is for being arranged under particular category to the access rule of a certain file item.For example, certain software supplier wants
The daily uploading operation log of employee is asked, the said firm includes Shanghai branch company and Beijing Company, the work log point of each branch company
Be not stored in catalogue D: svndata Daily Record shanghai and D: svndata Daily Record Beijing it
Under, for each employee, respective log is stored in again under corresponding branch company's file, such as D: svndata Daily
Record\shanghai\user1.In this case, the purpose of this step is respectively different file directorys for difference
User grouping different permissions is set, such as read-only authority, modification authority and delete permission.
S3: group is divided to the personnel according to the access authority in the rights management interface;
Based on embodiment one, it is assumed that the permission of general manager, each branch company director and network management are constant, i.e., general manager for
All journal files of company have read-only and modification permission, and the responsible person of Shanghai branch company and Beijing Company is respectively to it
Journal file under the branch company of each Self management has read-only and modification permission, and network management has deletion to company's All Files
Permission.What is different from the first embodiment is that being limited in the present embodiment for the permission further progress of common employee, every employee
It can only access and modify oneself file under one's name.In this case, office worker Xiao Sun such as in the branch company of Shanghai can only be for
Catalogue D: svndata Daily Record shanghai file item under sun there is read-only and modification right.
S4: the external competence profile independently of SVN is generated according to the access authority and the grouping.
This step by under personnel's grouping information and file directory authority distribution information write-in outside competence profile
In.It is different from the direct configuration file under SVN server of the prior art, for matching for authority information to be arranged in this step
It sets file to be independently of except SVN server, by clicking setting on rights management interface, user's operation is got up a mesh
It is so more intuitive, avoid the problem of being easy error of directly modifying in the configuration file of SVN server internal.
Still by taking above-mentioned software supplier as an example, since other people permission is constant, in exterior arrangement file of the invention
It is main to introduce content relevant to common office worker:
First, the rule being grouped to personnel is set:
[groups]
G_sh1=sh1
G_sh2=sh2
……
G_sh10=sh10
G_bj1=bj1
G_bj2=bj2
……
G_bj15=bj15
Since every employee can only access and modify to oneself journal file under one's name, this step is by every member
Work point is independent one group, i.e. employee sh1 belongs to a group g_sh1, and employee bj1 belongs to group g_bj1, etc..
Second, according to grouping setting to the access authority of file item under catalogue.
[D: svndata Daily Record shanghai sh1]
@g_sh1=rw;
……
[D: svndata Daily Record shanghai sh10]
@g_sh10=rw
……
[D: svndata Daily Record beijing bj15]
@g_bj15=rw
The employee sh1 of above code setting Shanghai branch company only for catalogue D: svndata Daily Record
Shanghai sh1 have read-write permission;... employee sh10 only for catalogue D: svndata Daily Record
Shanghai sh10 have read-write permission;... the employee bj15 of Beijing Company only for catalogue D: svndata
Daily Record beijing bj15 have read-write permission.
S5: the external competence profile is pushed into SVN server.
The purpose of this step is the external authority configuration for above having configured grouping information and catalogue file authority information
File is sent to SVN server, and SVN server is enable to carry out corresponding permission according to the rule being arranged in exterior arrangement file
Distribution and management.In terms of sending external competence profile, such as it can use SSH agreement and transmitted.
SSH is the security protocol established on the basis of application layer and transport layer.SSH be at present it is relatively reliable, aim at and remotely step on
It records session and other network services provides the agreement of safety.It can be effectively prevented in remote management procedures using SSH agreement
Information leakage problem.
SSH is made of the software of client and server-side, is respectively there are two incompatible version: 1.x and 2.x.
Server-side is a finger daemon (daemon), he is in running background and responds the connection request from client.Server-side one
As be sshd process, provide the processing to remotely connecting, generally comprise that public key authentication, key exchange, symmetric key adds
Close and unsecured connections.Client is comprising ssh program and as scp (telecopy), slogin (telnet), sftp (peace
Whole file transmission) etc. other application programs.Their working mechanism is about local client and sends a connection request
To long-range server-side, the packet and IP address of server-side inspection application retransmit key to the client of SSH, locally again by key
Server-side is sent back to, connection is established since then.
In the present embodiment, scp order can use by exterior arrangement file push to specified folder, such as:
Scp svn.file root@192.168.1.1:/data
Data text under the server that it is 192.168.1.1 by exterior arrangement file push to IP address that the above code, which shows,
In part folder.
Please continue to refer to Fig. 5, the rights management device 30 of the present embodiment is based on embodiment one, to realize embodiment
Two right management method comprising each program module function:
Interface establishing module 31, suitable for establishing SVN rights management interface, the rights management interface using web platform
In include group, personnel and file directory;
Priority assignation module 32, suitable for the access authority being arranged under file directory the rights management interface;
Grouping module 33, suitable for being divided according to the access authority the personnel the rights management interface
Group;
Profile module 34, suitable for generating the external weight independently of SVN according to the access authority and the grouping
Limit configuration file;
Pushing module 35, suitable for the external competence profile is pushed to SVN server.
Wherein, the setting rule of the access authority are as follows: determine the personnel under file directory according to different responsibilities
The enforcement power of file item;The access authority includes: to have read-only authority to the file item under file directory, to file directory
Under group of the file item with modification authority and there is the group for deleting permission to the file item under file directory.
Wherein, described be grouped according to the access authority to the personnel comprises determining which personnel is under the jurisdiction of tool
There is the group of read-only authority, which personnel, which is under the jurisdiction of to be under the jurisdiction of to have with the group of modification authority and which personnel, deletes permission
Group.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Any process or the method description described in other ways in flow chart or herein is construed as, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Those skilled in the art are appreciated that all or part of step for realizing that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable medium
In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means particular features, structures, materials, or characteristics described in conjunction with this embodiment or example
It is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are different
Surely identical embodiment or example is referred to.Moreover, particular features, structures, materials, or characteristics described can be any
It can be combined in any suitable manner in one or more embodiment or examples.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of SVN right management method based on web platform characterized by comprising
SVN rights management interface is established using web platform, includes group, personnel and file directory in the rights management interface;
Access authority under file directory is set in the rights management interface;
Group is divided to the personnel according to the access authority in the rights management interface;
The external competence profile independently of SVN is generated according to the access authority and the group;
The external competence profile is pushed into SVN server.
2. SVN right management method according to claim 1, which is characterized in that the setting rule of the access authority are as follows:
Determine the personnel to the enforcement power of the file item under file directory according to different responsibilities;The access authority includes: to text
File item under part catalogue has read-only authority, has modification authority to the file item under file directory and under file directory
File item, which has, deletes permission.
3. SVN right management method according to claim 2, which is characterized in that it is described according to the access authority to institute
Stating personnel and dividing group includes: that the personnel with read-only authority are divided into Band 1, and the personnel with modification authority are drawn
It is divided into the second group, and will there are the personnel for deleting permission to be divided into third group.
4. SVN right management method according to claim 2, which is characterized in that personnel while quilt with multiple permissions
It is divided into multiple groups.
5. a kind of SVN rights management device based on web platform characterized by comprising
Interface establishing module includes in the rights management interface suitable for establishing SVN rights management interface using web platform
Group, personnel and file directory;
Priority assignation module, suitable for the access authority being arranged under file directory the rights management interface;
Grouping module, suitable for dividing group to the personnel according to the access authority the rights management interface;
Profile module, suitable for generating the external authority configuration independently of SVN according to the access authority and the grouping
File;
Pushing module, suitable for the external competence profile is pushed to SVN server.
6. SVN rights management device according to claim 5, which is characterized in that the setting rule of the access authority are as follows:
Determine the personnel to the enforcement power of the file item under file directory according to different responsibilities;The access authority includes: to text
File item under part catalogue has read-only authority, has modification authority to the file item under file directory and under file directory
File item, which has, deletes permission.
7. SVN rights management device according to claim 6, which is characterized in that the grouping module includes:
First grouping module, suitable for will have the personnel of read-only authority to be divided into Band 1;
Second packet module, suitable for the personnel with modification authority are divided into the second group;
Third grouping module, suitable for will have the personnel for deleting permission to be divided into third group.
8. SVN authority management module according to claim 7, which is characterized in that personnel while quilt with a variety of permissions
It is divided into multiple groups.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor realizes any one of Claims 1-4 institute when executing the computer program
The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of Claims 1-4 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535297.6A CN109725930A (en) | 2018-12-14 | 2018-12-14 | SVN right management method and its device based on web platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535297.6A CN109725930A (en) | 2018-12-14 | 2018-12-14 | SVN right management method and its device based on web platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109725930A true CN109725930A (en) | 2019-05-07 |
Family
ID=66296072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535297.6A Pending CN109725930A (en) | 2018-12-14 | 2018-12-14 | SVN right management method and its device based on web platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109725930A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111291330A (en) * | 2020-02-17 | 2020-06-16 | 苏州亿歌网络科技有限公司 | SVN authority management method, SVN authority management device, computer equipment and storage medium |
CN112181481A (en) * | 2020-09-29 | 2021-01-05 | 北京达佳互联信息技术有限公司 | Authority updating method and device of version management system |
CN112783546A (en) * | 2021-01-28 | 2021-05-11 | 杉德银卡通信息服务有限公司 | Code authority WEB management system based on domain service and SVN |
-
2018
- 2018-12-14 CN CN201811535297.6A patent/CN109725930A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111291330A (en) * | 2020-02-17 | 2020-06-16 | 苏州亿歌网络科技有限公司 | SVN authority management method, SVN authority management device, computer equipment and storage medium |
CN112181481A (en) * | 2020-09-29 | 2021-01-05 | 北京达佳互联信息技术有限公司 | Authority updating method and device of version management system |
CN112783546A (en) * | 2021-01-28 | 2021-05-11 | 杉德银卡通信息服务有限公司 | Code authority WEB management system based on domain service and SVN |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10705823B2 (en) | Application templates and upgrade framework for a multi-tenant identity cloud service | |
US9432350B2 (en) | System and method for intelligent workload management | |
US7657887B2 (en) | System for transactionally deploying content across multiple machines | |
US11706106B2 (en) | Resource lifecycle automation | |
CN103595730A (en) | Ciphertext cloud storage method and system | |
US20190286640A1 (en) | Categorization using organizational hierarchy | |
CN110032886A (en) | The method and apparatus of access authorization for resource management | |
CN109725930A (en) | SVN right management method and its device based on web platform | |
CN104008441A (en) | Task management system and method for automatically submitting files into version library | |
US9817988B2 (en) | System and method to provide document management on a public document system | |
Baron et al. | AWS certified solutions architect official study guide: associate exam | |
US11632375B2 (en) | Autonomous data source discovery | |
US11245744B1 (en) | Asynchronous distributed modular function calling | |
US11599432B2 (en) | Distributed application orchestration management in a heterogeneous distributed computing environment | |
US11968241B1 (en) | Auto-tuning permissions using a learning mode | |
CN116614323B (en) | Cloud storage enterprise network management method and system based on Rclone | |
Peris et al. | LCG-2 user guide | |
Miller et al. | Automating File Operations via Python | |
Ramey | Pro Oracle Identity and Access Management Suite | |
Ong et al. | Implementation of a multilevel wiki for cross-domain collaboration | |
Voinov et al. | Implementation of remote file systems cross-platform mounting | |
CN113411202A (en) | Method for building BaaS framework based on PaaS platform and Fabric framework | |
Ramey et al. | Directory Synchronization and Virtualization | |
CN109815726A (en) | The method and its background program building method of ordinary user's modification system file | |
Loureiro | Integrate Collective Certificate Management on Skipchains and on cross platform mobile application |
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 |