Feature Request: Disable Export Buttons and Dropdown Options for Users Without Export Permissions #29079
bcook-konza
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context:
In Apache Superset, users who do not have permission to export data currently see all export buttons and dropdown options enabled. When these users attempt to use these options, they receive a 'forbidden access' error message. This can lead to confusion and frustration among users. To improve the user experience, I propose a feature that grays out or hides these export options for users who lack the necessary permissions.
Feature Description:
Implement a mechanism to dynamically disable or hide export buttons and dropdown options based on the user's permissions. This will prevent users without export permissions from seeing active export options and encountering error messages.
Requirements/Ideas:
Permission Check:
Perform a check on the user's permissions to determine whether they have export capabilities.
Integrate this check seamlessly with the existing permission system in Superset.
User Interface:
If a user does not have export permissions, gray out the export buttons and dropdown options.
Optionally, hide these options entirely to further reduce confusion.
Implementation Suggestions:
Utilize frontend frameworks and libraries to dynamically adjust the state of the export buttons and dropdowns based on permissions.
Implement CSS classes to manage the grayed-out or hidden states.
Conclusion:
This feature would significantly enhance the user experience in Apache Superset by preventing users without export permissions from attempting actions they are not authorized to perform. Thank you for considering this request, and I am available to discuss further details or assist with testing if needed.
Beta Was this translation helpful? Give feedback.
All reactions