Replies: 4 comments 3 replies
-
I found some similar discussions regarding restricting the list of users in the 'owners' filter for dashboards and charts in Superset:
Currently, there is a new configuration option in Superset that allows filtering specific users from dropdown lists, which might be relevant to your needs. This feature is mentioned in the changelog: "new config to filter specific users from dropdown lists" [4]. However, specific details on how to configure this to filter users based on roles are not provided in the available information. You might want to explore this configuration option further to see if it can be adapted to your requirements. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Dear Apache Superset Support Team, I hope this message finds you well. I am currently using Apache Superset installed on Windows, and I have encountered a challenge. I would like to change the filter values as mentioned in the link you provided (#30163). However, I am unsure where to locate and modify these filter values in the installed environment on Windows. Could you please provide guidance on where and how to change the filter values in this setup? Any specific file paths or configuration settings would be greatly appreciated. Thank you for your support and assistance. Best regards, iman |
Beta Was this translation helpful? Give feedback.
-
Dear Apache Superset Support Team, I hope this message finds you well. I am currently using Apache Superset installed on Windows, and I have encountered a challenge. When a user creates a chart, the list of potential owners displayed includes all users of Superset. I would like to restrict this list so that only users with the "Alpha" role are displayed. Could you please provide guidance on how to achieve this? Specifically, I am interested in knowing if there is a way to configure roles and permissions to limit the visibility of users in the owner selection list to only those who have the "Alpha" role. Thank you for your support and assistance. Best regards, iman |
Beta Was this translation helpful? Give feedback.
-
Dear Apache Superset Support Team, I hope this message finds you well. I am currently using Apache Superset installed on Windows, and I have encountered a challenge. When a user creates a chart, the list of potential owners displayed includes all users of Superset. I would like to restrict this list so that users can only see and select owners who share the same roles as themselves. Could you please provide guidance on how to achieve this? Specifically, I am interested in knowing how to configure the EXTRA_RELATED_QUERY_FILTERS setting in the superset/config.py file to filter users based on their roles. Here is the code I am considering: python def same_role_filter(query: Query, *args, **kwargs): EXTRA_RELATED_QUERY_FILTERS = {"user": same_role_filter} Thank you for your support and assistance. Best regards, iman |
Beta Was this translation helpful? Give feedback.
-
Dear Apache Superset Support Team,
I hope this message finds you well.
I am currently using Apache Superset and I have encountered a challenge. When a user creates a chart, the list of potential owners displayed includes all users of Superset. I would like to restrict this list so that users can only see and select owners who share the same role as themselves.
Could you please provide guidance on how to achieve this? Specifically, I am interested in knowing if there is a way to configure roles and permissions to limit the visibility of users in the owner selection list to only those who have the same role.
Thank you for your support and assistance.
Best regards, Iman
Beta Was this translation helpful? Give feedback.
All reactions