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

Add SessionPolicyCallback #80

Merged
merged 4 commits into from
Feb 23, 2019
Merged

Add SessionPolicyCallback #80

merged 4 commits into from
Feb 23, 2019

Conversation

belak
Copy link
Collaborator

@belak belak commented May 13, 2018

This is an initial implementation which could probably use a little more testing. Additionally, any feedback on names and interfaces would be welcome.

Note that I added the lock on the context because it's the only way to guarantee that you can add a value to the context without races, but I'd be open to other options.

Closes #7.

This is also meant as a precursor for #79 since I think the default should not allow a subsystem request to go through.

@belak belak requested a review from progrium May 13, 2018 07:11
@belak belak mentioned this pull request May 13, 2018
context.go Outdated Show resolved Hide resolved
server.go Outdated Show resolved Hide resolved
@progrium
Copy link
Contributor

In general looks good

@josegonzalez
Copy link
Member

@progrium assuming I can resolve the merge conflicts, what do you think would block a merge? Happy to dig in and add whats necessary - only thing I can see is probably documentation.

@progrium
Copy link
Contributor

I think nothing would block merge.

@progrium
Copy link
Contributor

ooo.. good to go now?

@belak
Copy link
Collaborator Author

belak commented Feb 22, 2019

Yep, should be good now.

@progrium progrium merged commit e5ece14 into master Feb 23, 2019
@belak belak deleted the session-policy-callback branch March 7, 2019 22:07
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.

4 participants