mozilla/kuma — pull request #593 by lmorchard (2012-09-14 21:21:56+00:00)
Title: fix bug 791249: Negative permission to restrict attachment upload

* Create `disallow_add_attachment` negative permission

* New AttachmentManager, with custom permission logic

* Disallow attachment upload when user has the negative permission

* Tweaks & code reshufflings