Brian Wolff has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/102343


Change subject: Remove some of the permissions so they can be configured 
per-wiki
......................................................................

Remove some of the permissions so they can be configured per-wiki

Previously this auto-added 'gwtoolset' right to admins, and made
it so admins could add/remove the gwtoolset group.

Instead, only make the gwtoolset group. Let the configuration for
if additional groups get the right, and which groups can add that
right must be specified in the individual wikis config.

After this change is merged, the configuration on commons will
have to be changed.

Change-Id: I4d9097e59dd91a104f1e3ac4c1dd543d3a37c9f9
---
M GWToolset.php
1 file changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GWToolset 
refs/changes/43/102343/1

diff --git a/GWToolset.php b/GWToolset.php
index 330a842..f3875be 100644
--- a/GWToolset.php
+++ b/GWToolset.php
@@ -48,11 +48,6 @@
 // add user permissions
 $wgGroupPermissions["gwtoolset"]["gwtoolset"] = true;
 $wgGroupPermissions["gwtoolset"]["upload_by_url"] = true;
-$wgGroupPermissions['sysop']['gwtoolset'] = true;
-
-// make sure sysop can add/remove gwtoolset group
-$wgAddGroups['sysop'][] = 'gwtoolset';
-$wgRemoveGroups['sysop'][] = 'gwtoolset';
 
 // add autoloader classes
 $wgAutoloadClasses = $wgAutoloadClasses + array(

-- 
To view, visit https://gerrit.wikimedia.org/r/102343
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d9097e59dd91a104f1e3ac4c1dd543d3a37c9f9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GWToolset
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to