graceguo-supercat opened a new issue #13856: URL: https://github.com/apache/superset/issues/13856
**Is your feature request related to a problem? Please describe.** Superset `Alerts and Reports` is a good feature. We want to enable it in airbnb but we have performance, security and stability concerns, so at this moment we just want to open it to a few selected users before make it available to thousands of users. I can use `GET_FEATURE_FLAGS_FUNC` to enable/disable feature by user. Here are config that i tried to enable `Alerts and Reports` for selected users (**Note** I have set other necessary `CELERYBEAT_SCHEDULE` and SMTP related config): 1. `ALERT_REPORTS = False` for all users, but enable selected users by `GET_FEATURE_FLAGS_FUNC`. Result: No users can see `Alerts and Reports` 2. `ALERT_REPORTS = True` for all users, but disable all other users in `GET_FEATURE_FLAGS_FUNC`, only allow selected users pass. Result: feature is enabled for selected users, but other users will still see `Alerts and Reports` option from the dropdown. But when they click on it, they got 404 error. **Describe the solution you'd like** I am not sure this is a feature request or a bug fix for use `ALERT_REPORTS ` flag. Could we have a feature flag just used to enable front-end (show `Alerts and Reports` option and related records)? cc @nytai @dpgaspar -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
