aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-09-15 22:11:29 +0100
committerColin Guthrie <colin@mageia.org>2014-09-15 22:11:29 +0100
commit2b8ddbb1893669aef2b142af39d6ba8e1b39cc79 (patch)
treeb117f87f2c1ebaa908702226cf42ac68f90e0b14 /deployment/mgagit
parent88f6993a7cfff2ae3232ca3bc04f127a5e3f4abe (diff)
downloadpuppet-2b8ddbb1893669aef2b142af39d6ba8e1b39cc79.tar
puppet-2b8ddbb1893669aef2b142af39d6ba8e1b39cc79.tar.gz
puppet-2b8ddbb1893669aef2b142af39d6ba8e1b39cc79.tar.bz2
puppet-2b8ddbb1893669aef2b142af39d6ba8e1b39cc79.tar.xz
puppet-2b8ddbb1893669aef2b142af39d6ba8e1b39cc79.zip
mgagit: Ensure mga-sysadmin really can push rewrite history.
If a sysadmin was assigned as a maintainer of a repo, the extra powers granted to them would actually be overridden which is a bit useless.
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl8
1 files changed, 4 insertions, 4 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index c032746d..6ac7fb93 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -1,9 +1,5 @@
[% SET maintainer = r.repos.$repo.maintainer %]
repo [% repo %]
- RW+ master$ = @mga-sysadmin
- RW+ distro/ = @mga-sysadmin
- RW+ topic/ = @mga-sysadmin
- RW+ refs/tags/ = @mga-sysadmin
RW master$ = [% maintainer %]
RW distro/ = [% maintainer %]
RW topic/ = [% maintainer %]
@@ -17,6 +13,10 @@ repo [% repo %]
RW distro/ = @mga-i18n-committers
RW topic/ = @mga-i18n-committers
[% END -%]
+ RW+ master$ = @mga-sysadmin
+ RW+ distro/ = @mga-sysadmin
+ RW+ topic/ = @mga-sysadmin
+ RW+ refs/tags/ = @mga-sysadmin
RW+ user/USER/ = @all
R = @all
[% IF r.repos.$repo.noemail -%]