-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Conversation
94f2579
to
89beb68
Compare
89beb68
to
162c73d
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.
Bot.
@alex-kovoy any reason why you returned *auth.Client instead of the interface here? |
fd87a16
to
4800d68
Compare
} | ||
|
||
type registry struct { | ||
plugins map[string]Plugin |
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.
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?
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.
I think either plugin
or extensions
is fine. I would stay away from enterprise
4800d68
to
03cda0d
Compare
} | ||
|
||
type registry struct { | ||
plugins map[string]Plugin |
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.
I think either plugin
or extensions
is fine. I would stay away from enterprise
dbd53f6
to
386ffb5
Compare
* Expose GRPC client connection to plugins * Replaces global plugin state with the PluginRegistry
* Expose GRPC client connection to plugins * Replaces global plugin state with the PluginRegistry
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