Exp with object_auth
This commit is contained in:
1 parent
6b2aeadde6
commit
3bcd7ea349
17 files changed
+161
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user