Matt Van Horn 872995db57 refactor guardian class for clarity & correctness
introduce NullUser to avoid type-checking
DRY up code
reduce number of multiple returns
remove some redundant/impossible logic branches
add pending test for possible bug
add test & fix for ability to flag archived posts
add #secure_category? method to topic class
Fix bug that prevented flagging of archived topics
Rename NullUser to AnonymousUser
DRY up can_<action>? methods
Fix some ownership logic, and a test, for Guardian
2013-05-22 01:09:34 -07:00
..
2013-04-30 12:43:59 +10:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-04-07 17:52:46 +02:00
2013-04-22 11:05:54 +10:00
2013-04-08 08:21:54 +10:00
2013-02-05 14:16:51 -05:00