betodealmeida commented on code in PR #29581:
URL: https://github.com/apache/superset/pull/29581#discussion_r1676565435


##########
superset/security/manager.py:
##########
@@ -860,7 +860,7 @@ def get_catalogs_accessible_by_user(
             if len(parts) == 2 and default_catalog:
                 accessible_catalogs.add(default_catalog)
             elif len(parts) == 3:
-                accessible_catalogs.add(parts[2])
+                accessible_catalogs.add(parts[1])

Review Comment:
   > There are 2 hard problems in computer science: cache invalidation, naming 
things, and off-by-1 errors. 



-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to