Skip to content
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

Support editing metadata for all document types #389

Merged
merged 5 commits into from
May 11, 2022

Conversation

kylelaker
Copy link
Contributor

This allows editing metadata for each of the existing document types.
Because the metadata is a totally shared (and root) object and because
all the base objects server-side support a PATCH operation, this is a
pretty easy change to patch in. All other changes have to be made via
the JSON editor.

This is not yet ready to be merged. It is going to have conflicts
(well, conflicts really are the best case; more likely, this will
silently break) with other open PRs but this gives a starting point for
making the modifications.

Eventually, we can probably patch through a few other editable types
from an SSP to other documents that reuse those components. But again,
this is easy and its available now so I figured why not go for it.

This allows editing metadata for each of the existing document types.
Because the metadata is a totally shared (and root) object and because
all the base objects server-side support a `PATCH` operation, this is a
pretty easy change to patch in. All other changes have to be made via
the JSON editor.

This _is not_ yet ready to be merged. It is going to have conflicts
(well, conflicts really are the best case; more likely, this will
silently break) with other open PRs but this gives a starting point for
making the modifications.

Eventually, we can probably patch through a few other editable types
from an SSP to other documents that reuse those components. But again,
this is easy and its available now so I figured why not go for it.
@easy-dynamics-oscal-automation easy-dynamics-oscal-automation bot requested a review from a team May 10, 2022 03:24
@kylelaker
Copy link
Contributor Author

If we decide to move forward with this, it needs to wait until at least after #277

@easy-dynamics-oscal-automation easy-dynamics-oscal-automation bot requested a review from a team May 11, 2022 14:03
@kylelaker kylelaker marked this pull request as ready for review May 11, 2022 14:08
@mikeisen1 mikeisen1 merged commit d91bab2 into develop May 11, 2022
@mikeisen1 mikeisen1 deleted the feature/edit-all-the-metadatas branch May 11, 2022 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants