Impersonation limit (time)

Hi

I impersonated my alternate account on my forum today to do a quick test of a feature i did for the forum and it said Impersonating user 15 minutes left but i’ve never seen it before and nor have i seen a setting for this.

have i missed a discussion on this?

if there’s a setting can i get the name i tried searching on the forum’s settings and got nothing.

There is a hidden experimental_impersonation_time_limit_minutes setting set to 15 minutes.

How would i find it on my forum?

I want to work a little with the limit

You cannot find it in the interface. That’s what hidden implies.

It’s a hidden setting. You need to enable it from the rails console

./launcher enter app
rails c
SiteSetting.experimental_impersonation_time_limit_minutes = 30 # or whatever
exit

I don’t have acsess so i most likley need to ask the owner

I am guessing you could add the last ne to the app.yml as well?

yes but you should probably be looking to change the site setting instead, you need to rebuild to apply that which is a lot more annoying than visiting the rails console