Yuvipanda has submitted this change and it was merged.

Change subject: labstore: Remove wildcard grants
......................................................................


labstore: Remove wildcard grants

Temporary fix until the script gets rewritten fully

Change-Id: I37785832cc74c3db02cbe1328599696c4f4528f4
---
M modules/labstore/files/replica-addusers.pl
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Yuvipanda: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/labstore/files/replica-addusers.pl 
b/modules/labstore/files/replica-addusers.pl
index 7ea52f2..d606be1 100755
--- a/modules/labstore/files/replica-addusers.pl
+++ b/modules/labstore/files/replica-addusers.pl
@@ -129,7 +129,6 @@
                 $dbc{$dbn}->do("grant usage on *.* to $mysqlusr\@'\%' 
identified by '$password';");
                 $dbc{$dbn}->do("grant select, show view on `\%\_p`.* to 
$mysqlusr\@'\%';");
                 $dbc{$dbn}->do("grant show view on *.* to $mysqlusr\@'\%';");
-                $dbc{$dbn}->do("grant all privileges on `${mysqlusr}\_\_\%`.* 
to $mysqlusr\@'\%' with grant option;");
             }
             print "\n";
             open GRANTS, ">$grants" and close GRANTS;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I37785832cc74c3db02cbe1328599696c4f4528f4
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to