Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
Description
1. Create 2 buckets in CB Server - bucket1 and bucket2. Create scope and collection under these bucket.
2. Create a user with role - bucket1 - scope1 - collection
Create a connection with user in 2 - with bucket2 - scope1 -collection1
Error message -
<RC=0x64[LCB_ERR_GENERIC (100)], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server, C Source=(src/bucket.c,1209)>
3. create a connection with user in 2 - bucket1 - scope2- collection2
<Key='king_arthur', RC=0xD9[LCB_ERR_SCOPE_NOT_FOUND (217)], Operational Error, Results=1, C Source=(src/multiresult.c,316), Context=
, Tracing Output={"king_arthur": {"debug_info":
{"FILE": "src/callbacks.c", "FUNC": "dur_chain2", "LINE": 747}}}>
Error message for first scenarios should be improved to tell user that his autthentication has failed to the bucket, rather than an generic error.