hunk.code_window:                 + fieldName(QActionCollection.actionCollection.publishedCollection.pageId);
           String contextTypePath = fieldName(QActionCollection.actionCollection.publishedCollection) + "."
                   + fieldName(QActionCollection.actionCollection.publishedCollection.contextType);
           Criteria contextIdAndContextTypeCriteria =
                   where(contextIdPath).is(contextId).and(contextTypePath).is(contextType);
           return queryAll(List.of(contextIdAndContextTypeCriteria), Optional.of(permission));
       }
   }
hunk.labels: keep keep keep keep keep replace keep keep
hunk.after_edit:         return queryAll(List.of(contextIdAndContextTypeCriteria), Optional.ofNullable(permission));
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomActionCollectionRepositoryCEImpl.java
hunk.type: replace
file: package com.appsmith.server.solutions;
  
  import com.appsmith.server.solutions.ce.DatasourcePermissionCE;
  
  public interface DatasourcePermission extends DatasourcePermissionCE, DomainPermission {}
  