-
Notifications
You must be signed in to change notification settings - Fork 98
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
introduce user constraints #743
Conversation
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! 😆 |
There was a problem hiding this 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?
Added help props and improved messages to include violating UUID kindly let me know if the URI's i've chosen are appropriate |
6afe441
to
f4d4bb8
Compare
There was a problem hiding this 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.
ok should be in there now |
ae0b569
to
92dbcff
Compare
There was a problem hiding this 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.
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
…ic/fedramp-automation into feature/user-constraints
There was a problem hiding this 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
src/validations/constraints/content/ssp-user-has-authorized-privilege-INVALID.xml
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
src/validations/constraints/fedramp-external-allowed-values.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
@wandmagic can you please update the checklist so when a third review comes in, we can approve and merge? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* 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]>
* 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]>
* 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]>
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.