dosubot[bot] commented on issue #31938:
URL: https://github.com/apache/superset/issues/31938#issuecomment-2604121619

   <!-- Greeting -->
   Hey @Mayeu! 👋
   
   
   <!-- Answer -->
   There are a few similar discussions related to issues with the 
`DASHBOARD_RBAC` feature in Apache Superset:
   
   1. [Issue with Dashboard Access for Role-Based Permissions 
(DASHBOARD_RBAC=True)](https://github.com/apache/superset/discussions/30701) - 
This discussion is unsolved and might provide insights into similar problems 
<sup>[[1]](https://github.com/apache/superset/discussions/30701)</sup>.
   
   2. [Non-admin user cannot see Edit Dashboard button, even on dashboards they 
own](https://github.com/apache/superset/discussions/24182) - This is another 
unsolved discussion that might be related to role-based access issues 
<sup>[[2]](https://github.com/apache/superset/discussions/24182)</sup>.
   
   3. A closed issue, [RBAC not 
Working](https://github.com/apache/superset/issues/18634), was resolved by a 
pull request that fixed the use of normal RBAC when no roles were chosen 
<sup>[[3]](https://github.com/apache/superset/issues/18634)</sup>.
   
   Regarding your specific issue, the error message indicates that the user 
lacks the necessary `datasource` or `all_datasource_access` permission. When 
`DASHBOARD_RBAC` is enabled, users with the Gamma role need explicit 
`datasource_access` permissions for the datasets associated with the dashboard. 
You can add this permission by modifying the role's permissions in the security 
manager 
<sup>[[4]](https://github.com/apache/superset/blob/master/tests/integration_tests/dashboards/api_tests.py)</sup>.
   
   Additionally, ensure that the `DASHBOARD_RBAC` feature is correctly 
configured in your `superset_config.py` file, and that the roles are properly 
assigned to both the user and the dashboard 
<sup>[[5]](https://github.com/apache/superset/blob/master/docs/docs/configuration/networking-settings.mdx)</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/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/f5c3074a-5b29-48d9-8e3b-326a0b7eed78?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]

Reply via email to