Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
data writer to a specific bucket was able to read as well.
Steps:
- create data writer and select 'default' bucket
- create an app using couchbase-net-client 2.5.0. Refer to attached screenshot of the example app.
Expected : GetDocument and LookupIn should return error
Actual : GetDocument and LookupIn returns actual data
Attachments
Issue Links
- relates to
-
NCBC-1516 Data reader can upsert
-
- Resolved
-
I re-created Jae's example code and still am unable to replicate. I've attached a pcap with my wireshark trace, interestingly I can only see "datawriter" as the username in the SASL requests. I have a single bucket "default" and a single user "datawriter" with one role of "data_writer[default]".
Jae Park [X] If you created a new console app to test, what version of the SDK are you using? My attached console app is using 2.5.0 and my server build number is 3509.
Also, you mentioned there is a password-less user because this cluster was used to upgrade, can you provide all your bucket and user configurations?
data-writer-sasl.pcapng
rbac-data-writer-test.zip