Paulo456 commented on issue #15854:
URL: https://github.com/apache/superset/issues/15854#issuecomment-1630395414
search_exclude_columns helps to fast load but permissions - absence
problem solves with adding to find_roles_permission_view_menus and
exist_permission_on_roles
this option:
.options(contains_eager(self.permissionview_model.view_menu))
then count query to check menu_view will be lower
bigger problem in representation:
class PermissionView(Model):
....
return str(self.permission).replace("_", " ") + " on " + str(self.view_menu)
from this point we have big amount of queries to two tables ab_view_menu and
ab_permission
--
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]