dosubot[bot] commented on issue #31461: URL: https://github.com/apache/superset/issues/31461#issuecomment-2544607282
<!-- Greeting --> @suryansh-ksolves Hello there! I'm here to help you with the SQL Lab issue and the "Access Denied" error you've encountered after upgrading to version 3.1.3. I'm a bot designed to assist you with bug resolution, answer your questions, and guide you to become a contributor. Let's work together to solve these issues! <!-- Answer --> To resolve the "Unexpected error" and "Access Denied" issues in SQL Lab and Row-Level Security after upgrading Apache Superset from version 2.x.x to 3.1.3, you should address the permission naming inconsistency. Specifically, manually update the permission name from 'Sqllab' to 'SQLLab' in the database. This inconsistency is due to a permission renaming that occurred without a corresponding database migration. The codebase uses a mix of 'SQLLab' and 'SQL Lab', which can lead to these issues. This manual update is a temporary workaround until a proper migration is implemented, potentially in version 5.0 <sup>[[1]](https://github.com/apache/superset/issues/31395)</sup>. <!-- 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/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/ef3cf98d-8e45-452c-b1c6-1698faa124c7?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org