Description
1. Configure CB Server with LDAP and create an ldap user
2. Configure user in 1 user role as a bucket_admin[temp]
curl -X GET http://Administrator:password@192.168.46.101:8091/settings/rbac/users
|
[{"name":"dave","id":"dave","roles":[{"role":"bucket_admin","bucket_name":"temp"}]}]
|
3. execute cbtransfer command using user in 1.
[root@node1-cb450-testing-centos6 bin]# ./cbtransfer http://localhost:8091 csv:./data.csv -b mybucket -u dave -p password
|
.
|
bucket: mybucket, msgs transferred...
|
: total | last | per sec
|
byte : 94693 | 94693 | 64515.8
|
2016-03-09 05:09:07,628: mt could not find index server:0
|
done
|
User 'dave' has no permission to access data for bucket - mybucket.
Expected Result:
User should be shown an error that it does not have permission to bucket - mybucket.
Attachments
Issue Links
- relates to
-
MB-18603 Make sure that we respond with the proper error message when we have RBAC issues
- Closed