-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Row Level Security #660
Comments
I think the caravel way is to pre-process your data and split it in multiple tables. |
Thank you Riccardo. On Mon, Jun 27, 2016 at 4:33 PM, Riccardo Magliocchetti <
|
Il 27/06/2016 22:37, devbhosale ha scritto:
I don't think that's a good solution sorry :) |
I am also curious about a solution to this requirement,
I don't think that's a good solution sorry :) |
Views over tables here for sure, you don't need to materialize the data. Another way would be to add a configuration item where you pick a role and table and define a filtering criteria. If the user has that role then you force the filtering criteria in the where clause. |
We have this exact use case. We would like to implement with @JulieRossi this configuration item you talk about.
@mistercrunch : Could you give us broad outlines on the steps we should take ? To be more specific, our use case will be to add a WHERE clause based on a specific department in our organisation. |
I was wondering if any features have changed to allow true row level security. |
It's still not supported. I think this would require a SIP (Superset Improvement Proposal). I don't think this would be too hard to do though. Essentially we need a new model "RowLevelSecurityFilter" that has a many-to-one relationship to "BaseDatasource", and many-to-one to "Roles". Then we need the CRUD to manage those (UI and REST API), FAB's ModelView can provide much of this for free. After it's a matter of forcing the filter into the |
@pajachiet still interested in doing a SIP? |
Sorry, not anymore. The BI project moved to another solution to deal with this issue. |
bummer. This would be great feature. |
I tried tons of open source bi such as Metabase, Redash, CBoard, etc. and RLS only available in enterprise version and just Metabase has it. Conclusion: no money no RLS😪 |
Is there any way to include Row Level Security with Caravel. That is, showing different slices of the data from a table to different users depending on some attribute values.
For example User A sees Department Sales
User B sees Department Accounting
The text was updated successfully, but these errors were encountered: