Page MenuHomeDevCentral

Allow .+prenom and .+nom on #wikidata-fr for every user
ClosedPublic

Authored by dereckson on Aug 10 2016, 14:26.
Tags
None
Referenced Files
F3763479: D605.diff
Fri, Nov 22, 00:01
Unknown Object (File)
Mon, Nov 11, 23:17
Unknown Object (File)
Thu, Nov 7, 15:30
Unknown Object (File)
Thu, Nov 7, 14:53
Unknown Object (File)
Tue, Nov 5, 14:01
Unknown Object (File)
Tue, Nov 5, 10:37
Unknown Object (File)
Thu, Oct 31, 18:23
Unknown Object (File)
Sun, Oct 27, 08:33
Subscribers
None

Details

Summary

To protect against potential abuse, the flag D is currently required
to run commands. As #wikidata-fr is dedicated for Wikidata work, and
there is no particular issue on this channel, this access control is
more a blocker for legitimate work than useful to stop vandalism.

This change removes this access control for whitelisted channels,
and keeps it in other channels.

Fixes T903.

[ New registry setting ]

  • wikidata.channels: a list of channels where everyone is allowed to use Wikidata commands.
Test Plan
  • areWikidataCommandsAllowed and isWikidataChannel tested with all the four scenarii (D user or not, in Wikidata channel or not).
  • areWikidataCommandsAllowed tested not to query registry when the user has the D flag, to avoid a MySQL query.

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
wikidata-for-all (branched from master)
Build Status
Buildable 893
Build 1034: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Allow .+prenom and .+nom on #wikidata-fr for every user.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added reviewers: Ash-Crow, dachary.
dereckson added a reviewer: dereckson.

@Ash-Crow approved for the #wikidata-fr users the opportunity of the change.

This was also previously discussed on the channel with Harmonia Amanda and Ash.

This revision is now accepted and ready to land.Aug 10 2016, 14:49
This revision was automatically updated to reflect the committed changes.