Paulo456 commented on issue #15854:
URL: https://github.com/apache/superset/issues/15854#issuecomment-1697540862
also add to set_perm
+if hasattr(target, 'sql') and target.sql:
+ return
if not pv and permission and view_menu:
permission_view_table = (
self.permissionview_model.__table__ # pylint:
disable=no-member
)
connection.execute(
permission_view_table.insert().values(
permission_id=permission.id,
view_menu_id=view_menu.id
)
)
--
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]