Exp with object_auth

This commit is contained in:
Matthew Kaito Juyuan Fu committed 2012-02-13 17:33:48 +08:00
1 parent c88e1c8419
commit 17caa7cb1b
17 files changed
+174 -8

No files matched your search

+3 -3
View File
@@ -68,7 +68,7 @@ class PrototypeAuth
end
end
def auth_users
def auth_users_before_block_list
if self.all?
User.all.entries
else
@@ -83,8 +83,8 @@ class PrototypeAuth
end
end
def auth_users_after_block_list
auth_users - self.blocked_users
def auth_users
auth_users_before_block_list - self.blocked_users
end
# protected