Bust user-profile cache and fetch fresh user profile + roles when Eloka is reloaded normally (or, when the user logs-in again). A short cache timeout (of, say, 5 mins) can be used to avoid frequent API calls.
POSSIBLE BUG: currently the profile+role data is not re-fetched even when the user is logging in again.
-
Similar logic can be planned for org-data. How to refresh Org data without reopening the browser tab?
-
Both the user+role or org data can be periodically (say, daily or when session is being refreshed or on next login) updated even when the browser is not refreshed.
Bust user-profile cache and fetch fresh user profile + roles when Eloka is reloaded normally (or, when the user logs-in again). A short cache timeout (of, say, 5 mins) can be used to avoid frequent API calls.
POSSIBLE BUG: currently the profile+role data is not re-fetched even when the user is logging in again.
Similar logic can be planned for org-data. How to refresh Org data without reopening the browser tab?
Both the user+role or org data can be periodically (say, daily or when session is being refreshed or on next login) updated even when the browser is not refreshed.