seongjinyoon commented on code in PR #3772:
URL: https://github.com/apache/texera/pull/3772#discussion_r2393273992
##########
core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala:
##########
@@ -102,6 +103,179 @@ object WorkflowExecutionsResource {
}
}
+ /**
+ * Represents a dataset that has access restrictions for export.
+ * Used to track which datasets are non-downloadable and owned by other
users.
+ *
+ * @param ownerEmail The email of the dataset owner
+ * @param datasetName The name of the dataset
+ */
+ private case class RestrictedDataset(ownerEmail: String, datasetName:
String) {
+ def cacheKey: (String, String) = (ownerEmail.toLowerCase,
datasetName.toLowerCase)
Review Comment:
Dataset names are stored in lowercase in the database, so I used
`toLowerCase` as convention.
--
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]