datahub
datahub copied to clipboard
[WIP] feat(policies): Make policies searchable by privilege, type, status or editable fields--
Adds searchable annotations to DataHubPolicyInfo fields: privilege, type, status and editable fields so that we can use these fields for filtering in graphQL queries.
For backfilling pre-existing policies, adds a system update step to RESTATE existing policies. This is enabled by default so the mae processor updates documents in ES for all pre-existing DataHub policies.
Will test using the graphQL ListPolicies query with a video recording.
Checklist
- [x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
- [ ] Links to related issues (if applicable)
- [ ] Tests for the changes have been added/updated (if applicable)
- [ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
- [ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub