-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assigning users' permission to a particular filter value #1089
Comments
The caravel way would be to split your data into multiple tables, one for each user / role. If you use the very same ids as caravel user you may hack something into viz.py |
Thanks xrmx Also, is there a way we can add time range filter on the dashboard? Currently it looks like we can do that in explorer only, but it's cumbersome to go there every time to change. If it's not provided today, can you please a way to do that? |
@neeagl there is already a bug about that. You know, the idea about open source projects is that everyone contribute a bit not that some people work for free for others :) |
I agree :) Just wanted to make sure if there's already a hack around since it's a common use case for several people Anyway, thanks a lot for your help. |
We may do this at some point |
@mistercrunch isn't #660 the same? |
dup of the #665 |
Issue: apache#1089 To achieve multi-tenancy: 1. set "ENABLE_MULTI_TENANCY = True" in superset_config file. 2. add column tenant_id String(256) in the tables or views in which you want multi-tenancy. 3. if you are adding the multi-tenancy in existing project then make sure that ab_user table have the column tenant_id else alter the table. 4. if you want to enable multi-tenancy with CUSTOM_SECURITY_MANAGER, then your custom security manager class should be a subclass of MultiTenantSecurityManager class. Added the documentation for multi-tenancy. Fixed few typing errors. Also remove tenant_id from user view. Fixes few test cases and role update api to support the custom user model.
Is there a more concrete solution to this? We need this functionality as well. I see its also requested https://github.com/apache/incubator-superset/issues/660 |
To make caravel support multi-tenancy, our data has a unique user id (as a dimension).. we want to be able to give out access to a common database to differnet users. one of the column refers to the user id and only those particular users should be able to access that data in their dashboard.
The text was updated successfully, but these errors were encountered: