So in our case, we have a shared account for a team. As you know 1 Analysts can publish more than one Dashboard. We want to hide some data/tabs in a shared account from specific people. But at the end of the day, a shared account has 2 access to both Dashboards. Maybe inputting code before accessing the Dashboard can resolve this thread. This code is also just an option in the dashboard.
Hope you doing well