Forum Discussion

whereismydata's avatar
whereismydata
Resolver IV
5 years ago
Solved

Benchmark with security roles

Hi,   hope someone can help me with this: My challenge is to create a benchmark dashboard with RLS in place. The Dashboard is pretty simple. I'm using a scatter chart with revenue on x and 'share...
  • whereismydata's avatar
    whereismydata
    5 years ago

    For everyone reading this in future. I ended up creating separated views that suits the requirements for each users, adding a security column and combing all tables. Therefore, of course, without any role applied the data is duplicated.

     

    Another benefit of this is, that you are much more flexible with this approach. Like, if one user does not want some datapoint to be shared with the others (because it would be obvious to guess who is behind the datapoint), it then can be displayed only for him, but not for the others.

     

    If anyone is interested, I can share more details on my approach.

     

    best