mozilla/kitsune — pull request #1376 by rlr (2013-05-22 14:49:47+00:00)
Title: [bug 720226] Wiki permissions overhaul.

This moves all the permission checks related to documents and
revisions to a mixin in permissions.py.

All permissions are now checked off the document as:
document.allows(user, 'action')

Includes a migration to remove no longer needed delete_document_*
permissions by locale.

@willkg f?