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
F3930991: D605.id1472.diff
Sun, Dec 22, 16:47
Unknown Object (File)
Sat, Dec 14, 13:10
Unknown Object (File)
Sat, Dec 14, 01:48
Unknown Object (File)
Fri, Dec 13, 21:48
Unknown Object (File)
Fri, Dec 13, 21:48
Unknown Object (File)
Fri, Dec 13, 21:14
Unknown Object (File)
Fri, Dec 13, 20:57
Unknown Object (File)
Wed, Dec 4, 10:25
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.