nytai commented on issue #13856:
URL: https://github.com/apache/superset/issues/13856#issuecomment-809719133


   The issue here is that the alerts/reports menu item is controlled via a 
permission and the route existence is based on the feature flag, so this 
creates an issue when enabling this for only certain users.
   
   - If the feature flag is conditionally set, the permission does not exist 
and the menu item will no be there. 
   - If the permission is set for all users, but the feature flag is 
conditionally set, all users will have the menu option but the route will 404 
for some. 
   
   This issue is not isolated to this feature, it is an issue for all routes 
that are conditionally enabled based on feature flag. 
   
   One solution is to generate the permission for all users, but hide the menu 
item in the frontend. The users will still have direct access to the feature 
via the url, but the link will be hidden. I'm wondering if @dpgaspar has any 
other ideas as this issue is related to FAB permissions. 
   
   


-- 
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]

Reply via email to