Turn On/Off Next Experience UI Toggle button - glide.ui.polaris.on_off_user_pref_enabled property

Aarvii is here
Tera Contributor

I want to make this property "glide.ui.polaris.on_off_user_pref_enabled" - which creates Turn On/Off Next Experience UI Toggle button in Preferences >> Display.
And I want this should visible/accessible only for users with Admin Role. Except Admins no one should be able to see this toggle button in their instance I've tried in many ways but couldn't achieve this.
Can anyone guide me how can I achieve this kindly suggest .


Thank you.

 

 

 

Aarviiishere_0-1689324882964.png




Aarviiishere_0-1689325529912.png

 

Aarviiishere_1-1689325600060.png

 

6 REPLIES 6

This worked great- thanks!

 

Instead of mapping it to a module, I made it a custom slashcommand for SNUtils. Either way I can confirm this only changes the preference for the user and not the entire system which for me is ideal.

This is nifty.  Thanks!

~ "Breynia Disticha"