Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/348565 )

Change subject: mariadb: grant user 'phstats' additional select on differential 
db
......................................................................

mariadb: grant user 'phstats' additional select on differential db

The 'phstats' user is used gather statistics from Phabricator databases
to create the "Phabricator monthly mail" to wikitech-l.

In https://gerrit.wikimedia.org/r/#/c/348238/ Andre Klapper wants to
add an additional number, the count of differential users.

Grant select on the differential database in addition to existing access
to the maniphest and user databases.

Change-Id: I26038d86b6ee4829be3bc3adadc6b166c3bda35c
---
M modules/role/templates/mariadb/grants/production-m3.sql.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/65/348565/1

diff --git a/modules/role/templates/mariadb/grants/production-m3.sql.erb 
b/modules/role/templates/mariadb/grants/production-m3.sql.erb
index ee5d6af..4a6a104 100644
--- a/modules/role/templates/mariadb/grants/production-m3.sql.erb
+++ b/modules/role/templates/mariadb/grants/production-m3.sql.erb
@@ -77,7 +77,7 @@
 GRANT SELECT ON `phabricator_maniphest`.* TO 'phstats'@'10.64.32.150';
 GRANT SELECT ON `phabricator_user`.* TO 'phstats'@'10.64.32.150';
 GRANT SELECT ON `phabricator_project`.* TO 'phstats'@'10.64.32.150';
-
+GRANT SELECT ON `phabricator_differential`.* TO 'phstats'@'10.64.32.150';
 
 GRANT SELECT
     ON `phabricator_maniphest`.* TO 'phstats'@'10.64.32.150';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26038d86b6ee4829be3bc3adadc6b166c3bda35c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to