adjust test mode auth

This commit is contained in:
Pete Matsyburka committed 2026-08-30 12:07:05 +03:00
1 parent 8756931638
commit 11dea042ad
1 file changed
+1
@@ -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))