Brian Wolff has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/363230 )

Change subject: Redact ep_courses.course_token
......................................................................

Redact ep_courses.course_token

Its a shared password used to allow people to register for a
course. Its primarily meant as an anti-spam measure, but should
not be published.

Bug: T169661
Change-Id: Ifb66a6ec04489f72c98c46e70b68c752c3eaa922
---
M modules/role/templates/labs/db/views/maintain-views.yaml
1 file changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/30/363230/1

diff --git a/modules/role/templates/labs/db/views/maintain-views.yaml 
b/modules/role/templates/labs/db/views/maintain-views.yaml
index 719b5bf..68099a4 100644
--- a/modules/role/templates/labs/db/views/maintain-views.yaml
+++ b/modules/role/templates/labs/db/views/maintain-views.yaml
@@ -37,7 +37,6 @@
   - change_tag
   - ep_articles
   - ep_cas
-  - ep_courses
   - ep_events
   - ep_instructors
   - ep_oas
@@ -191,6 +190,14 @@
       as ar_text_id, ar_deleted, if(ar_deleted&1,null,ar_len) as ar_len, 
ar_page_id, ar_parent_id,
       if(ar_deleted&1,null,ar_sha1) as ar_sha1
     where: (ar_deleted&4)=0
+  ep_courses:
+    source: ep_courses
+    view: >
+      select course_id, course_org_id, course_title, course_name, course_start,
+      course_end, course_description, course_students, course_online_ambs,
+      course_campus_ambs, course_instructors, NULL as course_token, 
course_field,
+      course_level, course_term, course_lang, course_instructor_count, 
course_oa_count,
+      course_ca_count, course_student_count, course_touched
   filearchive:
     source: filearchive
     view: >

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb66a6ec04489f72c98c46e70b68c752c3eaa922
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
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