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

introduce user constraints #743

Merged
merged 18 commits into from
Oct 31, 2024

Conversation

wandmagic
Copy link

@wandmagic wandmagic commented Oct 1, 2024

Committer Notes

Introduce constraints on the user object

All Submissions:

By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.

@wandmagic wandmagic requested a review from a team as a code owner October 1, 2024 11:34
@aj-stein-gsa
Copy link
Contributor

I wil review this, but you do want me as assignee, but a review (I am in the fedramp-admins groups FYI). I am just always in a state of being perpetually behind! 😆

@aj-stein-gsa aj-stein-gsa removed their assignment Oct 3, 2024
Rene2mt
Rene2mt previously requested changes Oct 3, 2024
Copy link
Member

@Rene2mt Rene2mt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wandmagic should these constraints be updated w/ help-text and help-urls per ADR 9?

@wandmagic
Copy link
Author

@wandmagic should these constraints be updated w/ help-text and help-urls per ADR 9?

Added help props and improved messages to include violating UUID

kindly let me know if the URI's i've chosen are appropriate

@wandmagic wandmagic requested a review from Rene2mt October 4, 2024 13:33
@wandmagic wandmagic force-pushed the feature/user-constraints branch from 6afe441 to f4d4bb8 Compare October 4, 2024 13:46
Copy link
Contributor

@aj-stein-gsa aj-stein-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far, just asking to use the URLs for now. help-text and help-markdown can come later.

@wandmagic
Copy link
Author

Looks good so far, just asking to use the URLs for now. help-text and help-markdown can come later.

ok should be in there now

@wandmagic wandmagic dismissed Rene2mt’s stale review October 21, 2024 11:34

needs another look

@wandmagic wandmagic force-pushed the feature/user-constraints branch from ae0b569 to 92dbcff Compare October 21, 2024 11:36
@wandmagic wandmagic requested a review from a team as a code owner October 21, 2024 11:36
Copy link
Contributor

@aj-stein-gsa aj-stein-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delayed review.

This is very good work, but we may need to touch a few things up in regards to the documentation URLs generally and also more recent constraint style guide requirements.

Copy link

@kyhu65867 kyhu65867 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also resolve this without changes if you really want to but I think what I said should be considered

Copy link
Contributor

@aj-stein-gsa aj-stein-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really solid work as always, can we discuss fixing this up and readying it to go. I am sorry I missed one bit of this potentially in doc review, so we will need to circle back.

@aj-stein-gsa
Copy link
Contributor

@wandmagic can you please update the checklist so when a third review comes in, we can approve and merge? Thanks.

Copy link
Contributor

@Gabeblis Gabeblis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aj-stein-gsa aj-stein-gsa merged commit 5cb7351 into GSA:develop Oct 31, 2024
5 checks passed
wandmagic added a commit that referenced this pull request Nov 1, 2024
* introduce user constraints

* introduce help props

* adjust help uri coverage

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* see GSA/automate.fedramp.gov#98

* merge same invalid samples

* Update user-type-FAIL.yaml

* Update user-type-FAIL.yaml

* update tests

* Update src/validations/constraints/fedramp-external-allowed-values.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/content/ssp-all-VALID.xml

Co-authored-by: A.J. Stein <[email protected]>

* update tests

---------

Co-authored-by: A.J. Stein <[email protected]>
wandmagic added a commit that referenced this pull request Nov 1, 2024
* introduce user constraints

* introduce help props

* adjust help uri coverage

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* see GSA/automate.fedramp.gov#98

* merge same invalid samples

* Update user-type-FAIL.yaml

* Update user-type-FAIL.yaml

* update tests

* Update src/validations/constraints/fedramp-external-allowed-values.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/content/ssp-all-VALID.xml

Co-authored-by: A.J. Stein <[email protected]>

* update tests

---------

Co-authored-by: A.J. Stein <[email protected]>
brian-ruf pushed a commit to brian-ruf/fedramp-automation that referenced this pull request Nov 8, 2024
* introduce user constraints

* introduce help props

* adjust help uri coverage

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/fedramp-external-constraints.xml

Co-authored-by: A.J. Stein <[email protected]>

* see GSA/automate.fedramp.gov#98

* merge same invalid samples

* Update user-type-FAIL.yaml

* Update user-type-FAIL.yaml

* update tests

* Update src/validations/constraints/fedramp-external-allowed-values.xml

Co-authored-by: A.J. Stein <[email protected]>

* Update src/validations/constraints/content/ssp-all-VALID.xml

Co-authored-by: A.J. Stein <[email protected]>

* update tests

---------

Co-authored-by: A.J. Stein <[email protected]>
This was referenced Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🚢 Ready to Ship
Development

Successfully merging this pull request may close these issues.

6 participants