Repository navigation
List the data asset types in the default claim rule (backport 2.1 #39709) - #39710
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🔴 High riskThe default claim rule and upgrade migration narrow EditOwners to named data assets, changing authorization and potentially blocking users from claiming other unowned items. Lists the data asset types in the default claim rule of the Organization Policy instead of applying VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Issue
Cherry-pick of #39709 (Part of open-metadata/openmetadata-collate#8360)
What
The same change as #39709 on
2.1: the default claim rule in the Organization Policy lists the data asset types it applies to instead ofall. Existing installs that still have the shipped rule get the list from one statement in the2.1.2post data migration, with the same text as onmain.Tests
OrganizationPolicyDefaultsTest,OrganizationPolicyClaimSqlMigrationTest(the migration statement on MySQL and Postgres, run twice).OrganizationPolicyDefaultsIT,PermissionsResourceIT,McpPermissionIT,WorkflowTriggerPermissionsIT,AppEventSubscriptionRemovalIT, on MySQL and Postgres.Local Java test run: PASSED
fd6037dd081f(baseorigin/2.1)--scope full).