How to Make Dashboards Invisible to Certain Users Based on Time or Conditions?

I want to make specific dashboards invisible to certain users in Home Assistant, and then make them visible again based on certain conditions (such as time or other triggers).

Is there a way to:

  1. Hide a dashboard from specific users (based on user roles or something similar)?
  2. Make that dashboard visible at certain times or under specific conditions (for example, visible only between certain hours or triggered by an event)?

I know that Home Assistant doesn’t natively support making the entire dashboard invisible to certain users, but is there a workaround using automations or conditional views? Any help or examples would be greatly appreciated!