GitHub user dosubot[bot] added a comment to the discussion: Seeking Some Help On DataSource Security / RLS
<!-- Answer --> In Superset, when you create a chart directly from SQL Lab without saving the dataset first, the RLS (Row-Level Security) filters might not be applied because the chart creation process may not automatically incorporate the RLS filters defined in SQL Lab. To ensure RLS is enforced, you should save the dataset with the RLS filters applied before proceeding to chart creation. This way, the saved dataset will have the RLS filters embedded, ensuring that any charts created from it will respect the RLS rules. Additionally, ensure that the Superset configuration and security settings are correctly set up to enforce RLS consistently across different interfaces, such as SQL Lab and chart creation. This might involve checking the implementation of RLS in the chart creation process and ensuring that any necessary configurations or feature flags are enabled. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1890c311-8763-4a87-9d70-af50f602ae34?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33308#discussioncomment-13009739 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
