andrewsali commented on issue #4398: database_access on [mydb] permissionview not created when database added URL: https://github.com/apache/incubator-superset/issues/4398#issuecomment-364682368 Unfortunately changing to `get_perm()` doesn't solve the issue as before insert the database has no pk value yet. So probably having a seperate `set_perm` behaviour for databases would be needed (as this is executed after insert), that also adds `database_access` permission and not just `datasource`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services