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

config policy for users when they make a cert request #66

Merged
merged 13 commits into from
Nov 1, 2024

Conversation

GeorgeJahad
Copy link
Collaborator

#54

end

def config_user(identity)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this be in private section?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I left it public to be able to test it.

Initially, I was going to add my test to the unit test for the enclosing method, "issue_cert()" , but it seems like that method is only tested in an integration test here: test/integration/certificates_test.rb

I was uncomfortable adding my test to an integration test, but will if you think that is a better way to handle it. (or I could add a unit test for issue_cert.)

@GeorgeJahad GeorgeJahad merged commit e575cab into G-Research:main Nov 1, 2024
2 checks passed
@GeorgeJahad
Copy link
Collaborator Author

thanks for the review @suprjinx !

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.

2 participants