You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Create a new bucket using influx setup
Create a v1 auth token using influx v1 auth create, granting the user write (not read) permission on the bucket
Attempt to write data into your new bucket using the v1 auth token and v1 API
Expected behavior:
The write should succeed.
Actual behavior:
The write fails with a "read:orgs/xxx/buckets/yyy is unauthorized" error.
I stepped through the code in a debugger. The problem is that the logic in the DBRP service calls FindBucketByID before creating a new mapping, and the find-related methods check read-access.
Idea: tweak the find-related methods to check read OR write access.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
influx setup
influx v1 auth create
, granting the user write (not read) permission on the bucketExpected behavior:
The write should succeed.
Actual behavior:
The write fails with a "read:orgs/xxx/buckets/yyy is unauthorized" error.
I stepped through the code in a debugger. The problem is that the logic in the DBRP service calls
FindBucketByID
before creating a new mapping, and the find-related methods check read-access.Idea: tweak the find-related methods to check read OR write access.
The text was updated successfully, but these errors were encountered: