Skip to content

Commit a76c6e2

Browse files
committed
fix(policy): grant Trigger to IngestionBot for /trigger authz
1 parent f75665f commit a76c6e2

14 files changed

Lines changed: 111 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.12.9 MySQL
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.12.9 MySQL
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.12.9 Postgres
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.12.9 Postgres
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.13.0 MySQL
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.13.0 MySQL
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.13.0 Postgres
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Placeholder for 1.13.0 Postgres
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.openmetadata.service.migration.mysql.v1129;
2+
3+
import static org.openmetadata.service.migration.utils.v1129.MigrationUtil.addTriggerOperationToIngestionBotPolicy;
4+
5+
import lombok.SneakyThrows;
6+
import org.openmetadata.service.migration.api.MigrationProcessImpl;
7+
import org.openmetadata.service.migration.utils.MigrationFile;
8+
9+
public class Migration extends MigrationProcessImpl {
10+
11+
public Migration(MigrationFile migrationFile) {
12+
super(migrationFile);
13+
}
14+
15+
@Override
16+
@SneakyThrows
17+
public void runDataMigration() {
18+
addTriggerOperationToIngestionBotPolicy(collectionDAO);
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.openmetadata.service.migration.mysql.v1130;
2+
3+
import static org.openmetadata.service.migration.utils.v1129.MigrationUtil.addTriggerOperationToIngestionBotPolicy;
4+
5+
import lombok.SneakyThrows;
6+
import org.openmetadata.service.migration.api.MigrationProcessImpl;
7+
import org.openmetadata.service.migration.utils.MigrationFile;
8+
9+
public class Migration extends MigrationProcessImpl {
10+
11+
public Migration(MigrationFile migrationFile) {
12+
super(migrationFile);
13+
}
14+
15+
@Override
16+
@SneakyThrows
17+
public void runDataMigration() {
18+
addTriggerOperationToIngestionBotPolicy(collectionDAO);
19+
}
20+
}

0 commit comments

Comments
 (0)