Page MenuHomePhabricator

Configure SimilarEditors in production with Similarusers credentials
Open, Needs TriagePublic

Description

The SimilarEditors extension provides an interface via MediaWiki to the Similarusers service. It is available only to users who have the similarusers right.

The service requires credentials from the extension, which are passed via the extension's SimilarEditorsClient: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/SimilarEditors/+/bbabece604d67c7bf22bade77c538422d8385250/src/ServiceWiring.php#8

These configs need to be set to the correct values on WMF's production appservers.

This is a blocker to production deployment of SimilarEditors (but not necessarily to beta cluster deployment, since we have a mock client for testing).

Event Timeline

Tchanders renamed this task from Configure SimilarEditors in production with similar-users credentials to Configure SimilarEditors in production with Similarusers credentials.May 20 2022, 1:53 PM
Tchanders updated the task description. (Show Details)
Tchanders added subscribers: AGueyte, STran.

My understanding is that Platform Engineering can provide the service's credentials, and Release-Engineering-Team can set the config values privately.

Do let me know if Anti-Harassment can do anything - e.g. should we update this file?

Mentioned in SAL (#wikimedia-operations) [2022-06-15T14:30:10Z] <hnowlan@deploy1002> Synchronized private/PrivateSettings.php: T308670 credentials to access the similar-users service (duration: 03m 32s)

Now that PrivateSettings.php is updated, I believe all we need to do is configure the URL for the service. @Niharika Can we use the real service on Beta?

@Tchanders is there a list of users who will have access to the service if we host it on beta?
On slack I heard you say that "global steward rights group" will have access. Who is on this group? This task description states -

The SimilarEditors extension provides an interface via MediaWiki to the Similarusers service. It is available only to users who have the similarusers right.

Who all have this right?

Basically if we can ensure that the service will only be available to a limited, trusted group of users then we can host it on beta. Otherwise not.

@Tchanders is there a list of users who will have access to the service if we host it on beta?
On slack I heard you say that "global steward rights group" will have access. Who is on this group? This task description states -

The SimilarEditors extension provides an interface via MediaWiki to the Similarusers service. It is available only to users who have the similarusers right.

Who all have this right?

Basically if we can ensure that the service will only be available to a limited, trusted group of users then we can host it on beta. Otherwise not.

@Niharika I think this is the question I'm asking... If you're not sure, then perhaps we should not, to be safe? We can use the real service on testwiki instead. I believe testwiki deployment is mostly blocked on T304633: Performance review of Extension:SimilarEditors and T304631: Application Security Review Request : SimilarEditors.