mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 23:42:32 -05:00
adjust test mode auth
This commit is contained in:
1 parent
8756931638
commit
11dea042ad
1 file changed
+1
@@ -6,6 +6,7 @@ class TestingAccountsController < ApplicationController
|
|||||||
def create
|
def create
|
||||||
authorize!(:manage, current_account)
|
authorize!(:manage, current_account)
|
||||||
authorize!(:manage, current_user)
|
authorize!(:manage, current_user)
|
||||||
|
authorize!(:manage, EncryptedConfig)
|
||||||
|
|
||||||
impersonate_user(Accounts.find_or_create_testing_user(true_user.account))
|
impersonate_user(Accounts.find_or_create_testing_user(true_user.account))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user