villebro commented on code in PR #35259:
URL: https://github.com/apache/superset/pull/35259#discussion_r2516043048
##########
superset/security/manager.py:
##########
@@ -2388,7 +2388,7 @@ def raise_for_access( # noqa: C901
for datasource_ in datasources:
if self.can_access(
"datasource_access",
- datasource_.perm,
+ datasource_.perm or "",
Review Comment:
Bycatch: `perm` can be `None`
--
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]