nytai commented on a change in pull request #8845: [WIP] new, Dashboard list
view (react)
URL:
https://github.com/apache/incubator-superset/pull/8845#discussion_r360480077
##########
File path: superset/views/dashboard/views.py
##########
@@ -102,6 +105,21 @@ def new(self): # pylint: disable=no-self-use
db.session.commit()
return redirect(f"/superset/dashboard/{new_dashboard.id}/?edit=true")
+ @has_access
Review comment:
found I had to run `superset init` after adding this decorator. Not sure if
there's a way around it. This is necessary to override FAB's default list view.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]