Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I have a requirement to provide the access beyond the session access, we have a dashboard with multiple regions data like,
UK,
US
IND
EU
and we already implemented the session access based on user requirement on section access table and now we have a new requirement a user travel from UK to US he needs to access US data on dashboard after few days he travelled from US to IND he needs to see IND data dynamically.
Can anyone experienced this situation, please help me.
Your help will much appreciated.
Regards,
Correct Answer.
I don't think there's any way you can do this. Data security (Section Access) is handled when the app is reloaded, and at this time it doesn't know where a user might be next time they open the app.
Even if you figure out a way around it, this would also create the potential for a major security breach, as anyone could use a VPN / IP spoofing / whatnot to see data for whichever region they wanted. At that point you may as well not have region-based security at all.
If I had to do something like this, I would do it manually - users who need access to an additional region submit a request, and the pertinent information is approved/verified and added to the permissions list with start and end dates (which you would then use to load the Section Access).