+
removeCollection(bucketIndex, scopeIndex, collectionIndex)}
>
-
+
)
@@ -170,21 +174,11 @@ const BucketScopesConfiguration = ({
};
const couchbaseRoles = [
- { value: "data_reader", label: "Data Reader", description: "Read access to bucket data" },
- {
- value: "data_writer",
- label: "Data Writer",
- description: "Read and write access to bucket data"
- },
- {
- value: "read",
- label: "Read",
- description: "Read access to bucket data (alias for data_reader)"
- },
+ { value: "read", label: "Read", description: "Read-only access to bucket data" },
{
value: "write",
label: "Write",
- description: "Read and write access to bucket data (alias for data_writer)"
+ description: "Full write access to bucket data"
}
];
@@ -548,7 +542,7 @@ export const EditDynamicSecretCouchbaseForm = ({
(
(
field.onChange(e.target.value)}
- placeholder="* (all buckets) or bucket1,bucket2,bucket3"
+ placeholder="* (all buckets, scopes & collections) or bucket1,bucket2,bucket3"
/>
)}
@@ -632,7 +626,8 @@ export const EditDynamicSecretCouchbaseForm = ({
Advanced Bucket Configuration
- Configure specific buckets with their scopes and collections
+ Configure specific buckets with their scopes and collections. Leave scopes
+ empty for access to all scopes in a bucket.