GitHub user dosubot[bot] added a comment to the discussion: Cannot See Own Created Dataset/Chart
<!-- Answer --> In Superset, when a new dataset is created from a SQL Lab query, the system assigns 'datasource access on' permissions by determining the dataset's permission string and inserting a permission view mapping for "datasource_access" using the `_insert_pvm_on_sqla_event` method. If the dataset's current permission differs from the newly determined permission, it updates the dataset's permission in the database <sup>[[1]](https://github.com/apache/superset/blob/master/superset/security/manager.py)</sup>. However, it seems that in your case, the 'datasource access on' permissions are not being automatically assigned to the datasets you create, which is why they don't appear in the lists. You might need to manually assign these permissions to ensure visibility in the dataset list. Unfortunately, there isn't a built-in mechanism in Superset to automatically assign these permissions to newly created datasets without additional configuration or customization. <!-- 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/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e502aaee-dae3-443e-9103-23a6177cf3b6?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/32878#discussioncomment-12640366 ---- 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]
