/[pkg-kde]/scripts/svn-hooks/commit-access-control.cfg
ViewVC logotype

Contents of /scripts/svn-hooks/commit-access-control.cfg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 516 - (hide annotations) (download)
Sat Feb 26 18:46:33 2005 UTC (8 years, 3 months ago) by madcoder-guest
File size: 2902 byte(s)
adding myself to read-write

1 dato-guest 212 # This is a sample configuration file for commit-access-control.pl.
2     #
3     # $Id: commit-access-control.cfg.example 5288 2003-03-12 05:56:21Z kfogel $
4     #
5     # This file uses the Windows ini style, where the file consists of a
6     # number of sections, each section starts with a unique section name
7     # in square brackets. Parameters in each section are specified as
8     # Name = Value. Any spaces around the equal sign will be ignored. If
9     # there are multiple sections with exactly the same section name, then
10     # the parameters in those sections will be added together to produce
11     # one section with cumulative parameters.
12     #
13     # The commit-access-control.pl script reads these sections in order,
14     # so later sections may overwrite permissions granted or removed in
15     # previous sections.
16     #
17     # Each section has three valid parameters. Any other parameters are
18     # ignored.
19     # access = (read-only|read-write)
20     #
21     # This parameter is a required parameter. Valid values are
22     # `read-only' and `read-write'.
23     #
24     # The access rights to apply to modified files and directories
25     # that match the `match' regular expression described later on.
26     #
27     # match = PERL_REGEX
28     #
29     # This parameter is a required parameter and its value is a Perl
30     # regular expression.
31     #
32     # To help users that automatically write regular expressions that
33     # match the beginning of absolute paths using ^/, the script
34     # removes the / character because subversion paths, while they
35     # start at the root level, do not begin with a /.
36     #
37     # users = username1 [username2 [username3 [username4 ...]]]
38     # or
39     # users = username1 [username2]
40     # users = username3 username4
41     #
42     # This parameter is optional. The usernames listed here must be
43     # exact usernames. There is no regular expression matching for
44     # usernames. You may specify all the usernames that apply on one
45     # line or split the names up on multiple lines.
46     #
47     # The access rights from `access' are applied to ALL modified
48     # paths that match the `match' regular expression only if NO
49     # usernames are specified in the section or if one of the listed
50     # usernames matches the author of the commit.
51     #
52     # By default, because you're using commit-access-control.pl in the
53     # first place to protect your repository, the script sets the
54     # permissions to all files and directories in the repository to
55     # read-only, so if you want to open up portions of the repository,
56     # you'll need to edit this file.
57     #
58     # NOTE: NEVER GIVE DIFFERENT SECTIONS THE SAME SECTION NAME, OTHERWISE
59     # THE PARAMETERS FOR THOSE SECTIONS WILL BE MERGED TOGETHER INTO ONE
60     # SECTION AND YOUR SECURITY MAY BE COMPROMISED.
61    
62     [Make everything read-only for all users]
63     match = .*
64     access = read-only
65    
66     [Allow only myself to commit until finished]
67     match = .*
68 madcoder-guest 516 users = ccheney domi-guest riku schepler bab noel dato-guest chrsmrtn-guest isaaccp-guest isaac madcoder-guest
69 dato-guest 212 access = read-write

  ViewVC Help
Powered by ViewVC 1.1.5