Description
1. The current documentation states it is possible to create a role 'data_reader_writer' using cli - When infact this is not a supported role.
Every time a user tries to create the data_reader_writer role, she gets the error cannot assign roles - malformed roles. Example below.
./couchbase-cli user-manage -c 127.0.0.1:8091 -u -p --set --rbac-username tom --rbac-password testing --rbac-name "test" --roles data_reader_writer[myBucket] --auth-domain local' |
|
|
"Cannot assign roles to user because the following roles are unknown, malformed or role parameters are undefined: [data_reader_writer[myBucket]]"
|
2. Creating dual roles for data_writer, data_reader is allowed, but executing one after the other, overwrites the 1st role. This needs to be done together while specifying the role(s).
Change the documentation to reflect the supported usage
1. Remove data_reader_writer role
2. Provide example of dual role assingment on the doc ( reader and writer via cli)