dosubot[bot] commented on issue #31810: URL: https://github.com/apache/superset/issues/31810#issuecomment-2586202953
<!-- Answer --> I found a similar unsolved discussion that might be relevant to your issue: [Some permissions (on main page) seem unnecessary because they are associated with essential functions](https://github.com/apache/superset/discussions/31292). This discussion was last updated on December 4, 2024 <sup>[[1]](https://github.com/apache/superset/discussions/31292)</sup>. Regarding your issue, it seems like there might be a problem with how permissions are being configured or recognized in your setup. Here are a few things you might want to check: 1. **Permission Synchronization**: Ensure that the permissions you added are correctly synchronized with the Superset roles. Sometimes, changes in permissions might not reflect immediately due to caching or synchronization issues. 2. **Role Assignment**: Verify that the role with the new permissions is correctly assigned to the user you are testing with. Double-check the role assignments in the Superset UI. 3. **Flask AppBuilder Configuration**: Since you are using Flask AppBuilder, ensure that the `TenantModelView` class and its permissions are correctly defined and registered. The `menu_cond` lambda function in your `SupersetAppInitializer` might also affect the visibility and accessibility of the views. 4. **Logs and Debugging**: Check the Superset logs for any errors or warnings that might indicate what is going wrong. This can provide more context on why the permissions are not working as expected. If these steps do not resolve the issue, you might need to delve deeper into the configuration and code to identify any discrepancies. <!-- 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/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/d07271d7-834a-43f2-b0f5-9bd418f4ff1c?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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
