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