diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/User.tsp b/specification/mongocluster/DocumentDB.MongoCluster.Management/User.tsp index 784b064c25be..2294b4ff4f4b 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/User.tsp +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/User.tsp @@ -120,6 +120,6 @@ union EntraPrincipalType { union UserRole { string, - /** Datbase owner role permissions on the target scope. */ - DatabaseOwner: "dbOwner", + /** Root role permissions on the target scope. */ + Root: "root", } diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserCreateOrUpdate.json b/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserCreateOrUpdate.json index d7d967f5b2fa..a207af5419a4 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserCreateOrUpdate.json +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserCreateOrUpdate.json @@ -11,7 +11,7 @@ "properties": { "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -42,7 +42,7 @@ "provisioningState": "InProgress", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -72,7 +72,7 @@ "provisioningState": "InProgress", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserList.json b/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserList.json index 1fe9c20627c7..44f0b1d1b23e 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserList.json +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/examples/2025-04-01-preview/MongoClusters_UserList.json @@ -27,7 +27,7 @@ "provisioningState": "Succeeded", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -55,7 +55,7 @@ "provisioningState": "Succeeded", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], diff --git a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserCreateOrUpdate.json b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserCreateOrUpdate.json index d7d967f5b2fa..a207af5419a4 100644 --- a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserCreateOrUpdate.json +++ b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserCreateOrUpdate.json @@ -11,7 +11,7 @@ "properties": { "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -42,7 +42,7 @@ "provisioningState": "InProgress", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -72,7 +72,7 @@ "provisioningState": "InProgress", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], diff --git a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserList.json b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserList.json index 1fe9c20627c7..44f0b1d1b23e 100644 --- a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserList.json +++ b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/examples/MongoClusters_UserList.json @@ -27,7 +27,7 @@ "provisioningState": "Succeeded", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], @@ -55,7 +55,7 @@ "provisioningState": "Succeeded", "roles": [ { - "role": "dbOwner", + "role": "root", "db": "admin" } ], diff --git a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/mongoCluster.json b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/mongoCluster.json index c1e02ec9ad5a..082ae4a2f66c 100644 --- a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/mongoCluster.json +++ b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2025-04-01-preview/mongoCluster.json @@ -2738,16 +2738,16 @@ "type": "string", "description": "Built-in database role that can be assigned to a user.", "enum": [ - "dbOwner" + "root" ], "x-ms-enum": { "name": "UserRole", "modelAsString": true, "values": [ { - "name": "DatabaseOwner", - "value": "dbOwner", - "description": "Datbase owner role permissions on the target scope." + "name": "Root", + "value": "root", + "description": "Root role permissions on the target scope." } ] }