From 11dea042ad40b2f8c2b1efaa781425ba0f1979a2 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Sun, 30 Aug 2026 11:56:38 +0300 Subject: [PATCH] adjust test mode auth --- app/controllers/testing_accounts_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/testing_accounts_controller.rb b/app/controllers/testing_accounts_controller.rb index 44274eef..a96f21e5 100644 --- a/app/controllers/testing_accounts_controller.rb +++ b/app/controllers/testing_accounts_controller.rb @@ -6,6 +6,7 @@ class TestingAccountsController < ApplicationController def create authorize!(:manage, current_account) authorize!(:manage, current_user) + authorize!(:manage, EncryptedConfig) impersonate_user(Accounts.find_or_create_testing_user(true_user.account))