-
Notifications
You must be signed in to change notification settings - Fork 8
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
implement auth in jump server #1524
implement auth in jump server #1524
Conversation
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.
quick review, need to go over it again.
71ce8b2
to
c587916
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.
confused by the ssh manager, will wait for update
as discussed, the manager methods' implementation will be done in a followup. This is just the skeleton to satisfy the interface for the creation of the jump server |
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, I'm okay with the sshManager wrapping the others with the assumption that it will grow to do more logic in the future. If it turns out not to, we can get rid of it.
yeah, same |
51f5b7b
to
9c2fe1b
Compare
// AddrFromModelUUID is the method to resolve the address of the controller to contact given the model UUID. | ||
AddrFromModelUUID(ctx context.Context, user openfga.User, modelUUID string) (string, error) | ||
AddrFromModelUUID(ctx context.Context, user *openfga.User, modelTag names.ModelTag) (string, error) |
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.
Nice
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 just one godoc
559c8a7
to
32a7aaa
Compare
Description
In this PR we implement the authentication and authorization checks inside of the ssh jump server.
To do so: