You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automate UI checks for user activities such as mouse movement, click, keyboard key press, scroll etc.
If there is no activity from user's side for the time specified for idle_timeout_minutes in config.toml then user will be
explicitly logged out.
This feature can be enabled/disabled by enable_idle_timeout this property in config.toml
User kept multiple tabs/windows open but active on any one of the tab/window, to accommodate this use-case, such that user is not logged out as user is active. (https://github.com/pubkey/broadcast-channel) is used, It supports all browsers.
👟 How to Build and Test the Change
Pull changes from branch abdul/ui_timeout_fix
update session.toml to desired values.
cd /src
rebuild components/automate-load-balance
rebuild components/automate-ui
rebuild components/automate-deployment
rebuild components/automate-cli
chef-automate config patch dev/session.toml
Things to Test
Check if user is logged out after specified idle_timeout_minutes provided enable_idle_timeout is set to true and user is idle (mouse, keyboard, scroll) activities shouldn’t happen.
Same way set enable_idle_timeout to false and check user shouldn't get logged out in idle scenario.
Test idle scenario in with different tabs/windows of automate ui open in logged in state, keep any one tab active user shouldn’t get logged out.
Above 3 steps should be valid for Local User, SAML and LDAP logins.
Testing observations:
Google Chrome 92.0.4515.107 (Official Build) (64-bit)
For a single tab for both local and LDAP, User is logged out after specified idle_timeout_minutes provided enable_idle_timeout is set to true and user is idle (mouse, keyboard, scroll) activities are not happened.
For a multiple tabs,
a) Local user: User is logged out from all the tabs only after specified idle_timeout_minutes provided enable_idle_timeout is set to true and user is idle (mouse, keyboard, scroll) activities are not happened.
b) LDAP:
- If user is logged into multiple tabs , and user is inactive on one tab for 2 minutes then other tabs are logged out before the idle_timeout_minutes, if specified idle_timeout_minutes is 3 minutes and enable_idle_timeout is set to true
- If user is logged into multiple tabs, then user is logged out from all the tabs only after specified idle_timeout_minutes is of 5 minutes provided enable_idle_timeout is set to true and user is idle (mouse, keyboard, scroll) activities are not happened.(For the Minimum 5 minutes it working fine)
Things Introduced.
explicitly logged out.
👟 How to Build and Test the Change
Pull changes from branch abdul/ui_timeout_fix
update session.toml to desired values.
![125940193-a6fb8a2f-3e79-4e60-b8df-d7839a0b855f.png](https://camo.githubusercontent.com/ab59bd1a7cd2240ed7aeb4d39876bf4d315bd064172c31ccdaa0c72e95e1fe6d/68747470733a2f2f696d616765732e7a656e68756275736572636f6e74656e742e636f6d2f3630373439663132666431643334336639393666336164632f36393231313031362d323737372d343932322d616564652d666463613866363439633230)
cd /src
rebuild components/automate-load-balance
rebuild components/automate-ui
rebuild components/automate-deployment
rebuild components/automate-cli
chef-automate config patch dev/session.toml
Things to Test
Definition of Done
Aha! Link: https://chef.aha.io/epics/SH-E-724
The text was updated successfully, but these errors were encountered: