RETIRED, Puppet module for MediaWiki
Go to file
Tom Fifield d7dc1746d6 Restrict File Uploads, Page Moves to Known Users
Since https://review.openstack.org/#/c/368114/
introduced the 'autopatrol' group, a team has been proactively
verifying and adding known-good users to the group as edits are
made.

The group currently contains almost 300 members, and most non-spam
edits made on the wiki today are made by users with membership of
this group.

To date, group membership allowed bypassing the CAPTCHA for edits.
This patch proposes 3 additional, low impact, changes to further
help with our ongoing spam problem.

1) Restrict File Uploads to members of the autopatrol group

Non-Spam file uploads on the OpenStack wiki are relatively rare,
particularly for new users, and anyone who has uploaded a file in the
past is already covered by the autopatrol group.
Restricting this ability to verified users would completely remove
a major spam avenue from the current attack.

2) Restrict Page Moves to members of the autopatrol group

Page moves tend to only be conducted by very experienced users of
the OpenStack wiki, who have all been around a long time and are
members of the autopatrol group. They are also very rare outside of
spam situations.

In spam situations, page moves make clean-up doubly difficult and
allow spammers to work around new page creation restrictions.
Restricting this ability assists somewhat with the spam attack

3) Restrict Write API access to members of the autopatrol group
Author is unaware of anyone in the OpenStack community using the
MediaWiki write API, however the fact that it is open for all users
seems to make it a very tempting attack avenue for spammers.

Change-Id: I8a59e2a0d0fcddc0f2774a8a704c1ac57003d6a8
2016-11-08 01:04:56 +08:00
files Support disallowing robots 2016-09-07 20:45:25 +00:00
manifests Support disallowing robots 2016-09-07 20:45:25 +00:00
spec Fix target path for regular git clone during tests 2015-08-19 16:39:46 -07:00
templates Restrict File Uploads, Page Moves to Known Users 2016-11-08 01:04:56 +08:00
.gitignore Add Gemfile and puppet 4 checks 2015-08-04 15:53:03 -07:00
.gitreview Add standard puppet module files and .gitreview 2015-01-29 09:16:10 +01:00
Gemfile Use new infra_spec_helper for gem dependencies 2016-06-21 18:39:07 -07:00
LICENSE Add missing LICENSE file 2015-01-29 22:58:37 +00:00
Rakefile Add standard puppet module files and .gitreview 2015-01-29 09:16:10 +01:00
metadata.json Migrate to puppet-httpd module 2015-07-21 10:11:43 -04:00