-
Notifications
You must be signed in to change notification settings - Fork 22
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
(#108) influx_auth: fix creation using resource name #109
base: main
Are you sure you want to change the base?
Conversation
Actually, More is needed. Don't know how I thought I succesfully tested it. More to come! |
fcd53fa
to
c39ee47
Compare
c39ee47
to
087ae28
Compare
Hi @lennardk, is there an issue you're seeing when trying to create or manage tokens? I looked at this and I don't remember what the intent of the code here was, but it doesn't ever actually call
instead and it works fine. We should probably make this change since there is some dead code here which could be misleading, but is there an issue you're trying to fix with this PR? |
Hi,
|
Ah, I think I see the problem. When you try to create a more restrictive set of permissions, like
we need to get the IDs of the bucket and org to use in the |
Turns out the |
influx_get
doesn't support params since c195e50.This feels like a candidate for an additional test creating tokens with a resource name referenced, however I'm not familiar with the test framework so I'm creating this PR without.