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-03-23 10:45:40 +01:00
2013-04-26 21:45:53 -04:00
2013-05-17 09:03:52 +10:00
2013-02-26 07:31:35 +03:00
2013-04-18 17:23:52 +10:00
2013-03-05 01:42:44 +01:00
2013-05-21 10:08:33 +10:00
2013-02-26 07:31:35 +03:00
2013-02-05 14:16:51 -05:00
2013-03-06 08:52:24 +01:00
2013-03-05 01:42:44 +01:00
2013-02-26 07:31:35 +03:00
2013-03-06 08:52:24 +01:00
2013-04-26 16:56:28 +10:00
2013-03-06 08:52:24 +01:00
2013-05-01 21:39:10 -07:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-05-06 14:49:56 +10:00
2013-05-13 17:07:58 -04:00
2013-03-06 08:52:24 +01:00
2013-05-13 11:07:21 +10:00
2013-04-10 11:00:50 +02:00
2013-05-07 14:50:02 +10:00
2013-05-10 15:31:53 -04:00