From 9796a7ce9a7c279cdfe2b6d34672696bc4e33ad2 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Tue, 30 Oct 2018 11:07:43 -0400 Subject: [PATCH] Brandon pointed out this was probs necessary --- app/models/mixins/retirement_mixin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mixins/retirement_mixin.rb b/app/models/mixins/retirement_mixin.rb index 8c8d4a50fb3..1b448e0cbdc 100644 --- a/app/models/mixins/retirement_mixin.rb +++ b/app/models/mixins/retirement_mixin.rb @@ -252,7 +252,7 @@ def system_context_requester User.find(evm_owner_id) else $log.info("System context defaulting to admin user because owner of #{name} not set.") - User.find_by(:userid => 'admin') + User.in_my_region.find_by(:userid => 'admin') end end