Black Lives Matter. Please consider donating to Black Girls Code today.

How to show data relevant to that specific user?

hi, I want to integrate dash with my web app where I have data for lot of users and their activity. I want to create a set of reports based on the activity. Now what I have seen from examples is

  1. you import the data by the source,
  2. setup the layout and callbacks
  3. authenticate the user and show the report.

But I want to check the user_id within the data and show him only his data. I don’t want people to see others report.

Also, there is a hierarchy in users i.e user A can be under user B, so A cannot se B’s data but B can see A’s data. I know mind blown!!! :open_mouth: Let’s leave this for the time being