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 "billing_information" RBAC resource #5676

Merged
merged 14 commits into from
Mar 2, 2021
Merged

Add "billing_information" RBAC resource #5676

merged 14 commits into from
Mar 2, 2021

Conversation

alex-kovoy
Copy link
Contributor

This PR adds billing information RBAC resource and exposes several Auth Service methods to make it possible to register custom GRPC services (for auth plugin).

It's counterpart https://github.com/gravitational/teleport.e/pull/219

Copy link
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

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

Bot.

@klizhentas
Copy link
Contributor

@alex-kovoy any reason why you returned *auth.Client instead of the interface here?

@alex-kovoy alex-kovoy force-pushed the alexey/cloud branch 3 times, most recently from fd87a16 to 4800d68 Compare February 27, 2021 20:17
}

type registry struct {
plugins map[string]Plugin
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This map is not going to be used concurrently as plugin registrations happen during the initialization time.

Btw, @klizhentas i am not happy with the package name plugin as it overlaps with other plugins (data). What if I name it as enterprise implying enterprise only extensions?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think either plugin or extensions is fine. I would stay away from enterprise

}

type registry struct {
plugins map[string]Plugin
Copy link
Contributor

Choose a reason for hiding this comment

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

I think either plugin or extensions is fine. I would stay away from enterprise

@alex-kovoy alex-kovoy force-pushed the alexey/cloud branch 2 times, most recently from dbd53f6 to 386ffb5 Compare March 2, 2021 01:18
@alex-kovoy alex-kovoy merged commit 472df28 into master Mar 2, 2021
@alex-kovoy alex-kovoy deleted the alexey/cloud branch March 3, 2021 19:38
alex-kovoy added a commit that referenced this pull request Mar 15, 2021
* Expose GRPC client connection to plugins
* Replaces global plugin state with the PluginRegistry
alex-kovoy added a commit that referenced this pull request Mar 15, 2021
* Expose GRPC client connection to plugins
* Replaces global plugin state with the PluginRegistry
alex-kovoy added a commit that referenced this pull request Mar 16, 2021
* Expose GRPC client connection to plugins
* Replaces global plugin state with the PluginRegistry
alex-kovoy added a commit that referenced this pull request Mar 16, 2021
* Expose GRPC client connection to plugins
* Replaces global plugin state with the PluginRegistry
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.

5 participants