From e79e5c258fe6ec542c3f2bb3c4230a5de2812b25 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 3 Oct 2014 19:44:56 -0400 Subject: [PATCH] 3687: OK here just means this loop is OK, not everything is OK! --- services/api/app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index 2738e6070f..f283ea3ef8 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -88,7 +88,7 @@ class User < ArvadosModel name: sufficient_perms, tail_uuid: groups_i_can(action) + [self.uuid], head_uuid: target_uuid).any? - return true + next end end return false -- 2.30.2