-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Admin UI to support new dataset config changes #1766
Comments
@allisonking The Creating new config:
request body: [
{
"fides_key": "<dataset config fides key>",
"ctl_dataset_fides_key": "<fides key from previous step - for the CTL Dataset>",
}
]
Update new config:
|
The changes needed here are in this file: https://github.com/ethyca/fides/blob/main/clients/admin-ui/src/features/datastore-connections/add-connection/DatasetConfiguration.tsx Current state
Backend changes@pattisdr made some changes in 0f872f3 which adds:
And Next state for the UI
[
{
"fides_key": "<dataset config fides key, from the original GET>",
"ctl_dataset_fides_key": "<fides key from previous step - for the CTL Dataset>",
},
{
"fides_key": "<dataset config fides key, from the original GET>",
"ctl_dataset_fides_key": "<fides key from previous step if more than one dataset was submitted in the form>"
}
] And I guess we'll just have to rely on the order of the yaml to keep the dataset config associated with the right dataset |
Merged into unified-fides-resources |
❗ Depends on #1762 ❗
Now that the backend no longer supports storing dataset yaml files on the
datasetconfig
model the admin ui will need to be updated.When configuring connectors users are able to upload yaml configs like so
Whenever edits are made they're sent to
/connection/{connection_key}/dataset/
.This form needs to be updated to send yaml configs to
/dataset
and use the returned ID to link thectl_datasets
model to thedatasetconfig
model using the newctl_dataset_id
foreign key. Now only that ID will be sent in to/connection/{connection_key}/dataset/
So the new form flow will be:
Creating new config
/dataset
and save the return id in memory for the next request/connection/{connection_key}/dataset/
but leave out thedataset
field and instead include the stored in inctl_datasets_id
Editing config
/dataset
ctl_datasets
model is already linkeddatasetconfigs
This should get current form to feature parity with how it currently works. It still needs some additional updates.
Now that all the datasets are managed in the same place it's possible that a user will configure a connector and want to link it with a dataset that has already been created from the datasets UI. They will need a way to select from datasets that already exist.
This means that users will be able to either create datasets from this page or reuse one from the list of datasets that already exist.
Extra considerations
The text was updated successfully, but these errors were encountered: