superset icon indicating copy to clipboard operation
superset copied to clipboard

Dashboard Access Control to specific user

Open nivpawar22 opened this issue 10 years ago • 17 comments

Hello Team,

could you please help how to given permission to show or access specific dashboard for specific user, if i don't want to show my all dashboard to my all user, can you please suggest to right permission for dashboard access control, which kind of permission i need to assign for limited access user. i have checked all permission but there is no permission regarding this

nivpawar22 avatar Jun 02 '16 07:06 nivpawar22

This is a dup of #538

xrmx avatar Jun 02 '16 09:06 xrmx

Still not obvious how to do this. I have a multi-tenant situation, which I could solve w/ permissions on views (instead of row level granularity) and roles. I need each role to have a pre-defined dashboard.

fingermark avatar Jul 15 '16 18:07 fingermark

Is there any update on this?

fsck-mount avatar Nov 28 '16 09:11 fsck-mount

Hi Gowtham,

We can change permission as per our requirement for specific users, but in dashboard tab its visible for all user. in case want share specific dashboard with specific user you can share only link of this dashboard.

On Mon, Nov 28, 2016 at 3:21 PM, Gowtham Sai [email protected] wrote:

Is there any update on this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/airbnb/superset/issues/550#issuecomment-263227920, or mute the thread https://github.com/notifications/unsubscribe-auth/ASyhT1Xjbfh2oP2BG544r6x64vIwEhmtks5rCqQogaJpZM4IsRLI .

nivpawar22 avatar Dec 01 '16 06:12 nivpawar22

Hi Nivawar,

I don't have problem if the dashboard names are visible in dashboard tab to all the users. But the problem is say, I have a dashboard named Finance which is created from a table "Agg_Data" and another dashboard named Category which is also created from the same table Agg_Data.

The Users who are able to access Category dashboard ( Permission on company.agg_data ) can see the dashboard of Finance (In side dashboard -slices and all) because of permission.

Is there a way to give permission to a user for particular dashboard/slice only?

If we can give dashboard specific permission, could you please tell me that permissions name?

fsck-mount avatar Dec 01 '16 09:12 fsck-mount

We have the same problem.

jackpgao avatar Jul 24 '17 08:07 jackpgao

We also have same problem. Any suggestions ?

sachinhub avatar Aug 08 '17 16:08 sachinhub

Currently it's data-centric access definition, assuming that we want users to slice/dice to answer their own questions beyond the dashbaord/report.

We could add per-dashboard access and cut these users off from using the explore view. Speaking for Airbnb I don't think we need that feature so it would have to be community contributed.

mistercrunch avatar Aug 10 '17 01:08 mistercrunch

@mistercrunch can you please point me in the right direction so that I can make the required changes as this is needed for my usecase?

vidhaat avatar Sep 13 '17 07:09 vidhaat

Same here!

laresbernardo avatar Sep 20 '17 21:09 laresbernardo

I need this feature in my application too. Any updates on this?

gdeepali avatar Nov 21 '17 13:11 gdeepali

Same here! I would like to have this feature. How do we do this?

aabdinur avatar Feb 21 '18 04:02 aabdinur

We have implemented a hack for this. We have the dashboard page only show certain dashboards based off of the owner. We have a published owner and then they see their own. This allows the users to still share their dashboards with links, but removing the clutter on the dashboards page. Not everyone wants to share their dashboards with the world.

SpyderAlba avatar Feb 21 '18 19:02 SpyderAlba

@SpyderRivera, how does the hack work? Is there a restriction based on the owner of the dashboard? Please elaborate more on this.

aabdinur avatar Feb 21 '18 19:02 aabdinur

The hack is based on the owner of the dashboard. There is a hardcoded "published" user whose dashboards always show. We are working on how to better implement, but this worked for us for now.

SpyderAlba avatar Feb 21 '18 20:02 SpyderAlba

Hi SpyderRivera, Could you gives us the details on how to implement the hack. Is the hardcoded "published" like a role or is this something more. Kindly explain the steps if possible. Thanks

naveedalamiowa avatar Jun 19 '18 13:06 naveedalamiowa

@naveedalamiowa https://github.com/apache/incubator-superset/pull/4725

SpyderAlba avatar Jun 21 '18 19:06 SpyderAlba