tanishqgandhi1908 commented on code in PR #8890:
URL: https://github.com/apache/texera/pull/8890#discussion_r4380909030
##########
amber/src/main/scala/org/apache/texera/web/resource/dashboard/hub/HubResource.scala:
##########
@@ -280,18 +280,22 @@ object HubResource {
* Hydrates ids of one LakeFS-backed resource into hub entries. Unsizable
resources are
* dropped; ids are de-duplicated because the access join can match one
twice.
*/
- def fetchDashboardVersionedResourcesByIds(
+ /** The access join is narrowed to `uid`, so each row carries only the
viewer's own grant. */
Review Comment:
Thanks! Done: moved the doc onto fetchDashboardVersionedResourcesByIds
without the outdated clause, dropped the groupBy/distinctBy (one row per id
now), and added VersionedResourceTables.joinWithViewerAccessAndOwner, which
both the Hub and search now use.
--
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]