Skip to content

Commit f34d5c1

Browse files
Update _get_required_permission_types to handle SELECT operations
1 parent 1225b76 commit f34d5c1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cumulusci/tasks/bulkdata/mapping_parser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,10 @@ def _get_required_permission_types(
338338
self, operation: DataOperationType
339339
) -> T.Tuple[str]:
340340
"""Return a tuple of the permission types required to execute an operation"""
341-
if operation is DataOperationType.QUERY:
341+
if (
342+
operation is DataOperationType.QUERY
343+
or self.action is DataOperationType.SELECT
344+
):
342345
return ("queryable",)
343346
if (
344347
operation is DataOperationType.INSERT

0 commit comments

Comments
 (0)