discourse/discourse — pull request #1218 by bolandrm (2013-07-19 02:06:44+00:00)
Title: Split up Guardian

Hey Guys,

As discussed on the forums, here is a first attempt at splitting Guardian up. Let me know what you think.

I don't know how much I like including a bunch of modules like this. It would be really nice to make these Classes (`TopicGuardian`, `PostGuardian`, etc), however that would require a lot of delegation in the Guardian class. The Guardian class has a really large public interface.

Regardless, splitting this up has exposed some test duplications and omissions, which I can fix at a later time.

Feedback welcome!

Thanks