Skip to content

Commit 711a004

Browse files
authored
Merge pull request #8 from Meg528/patch-14
Update rbac.mdx
2 parents 23d3079 + 9dad8f7 commit 711a004

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/challenge/rbac.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 2
33
---
44

5-
# 👐 RUN : RBAC challenge
5+
# 👐 RUN : RBAC Challenge
66
:::tip
77

88
:::info
@@ -11,9 +11,9 @@ The provided scripts are incomplete. Replace all `<CODE_BLOCK>` with the correct
1111

1212
:::tip
1313
Hint: Remember to add `--projectId {project_id}`
14-
Refer to documentations : [atlas dbusers](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-dbusers-create/) , [atlas customDbRoles](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-customDbRoles-create/)
14+
Refer to the documentation: [atlas dbusers](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-dbusers-create/) , [atlas customDbRoles](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-customDbRoles-create/)
1515
:::
16-
### 1. Create a user for "MyNewCluster" database only
16+
### 1. Create a user for "MyNewCluster" database only.
1717

1818
```python
1919
# Create a user:'myNewClusterAdmin', password:'myNewClusterAdminPass', role: 'readWriteAnyDatabase'
@@ -36,7 +36,7 @@ newClusterAdminPass = 'myNewClusterAdminPass'
3636
</details>
3737
:::
3838
39-
### 2. Create user with read-only access to the 'salesDB' database
39+
### 2. Create a user with read-only access to the "salesDB" database.
4040
4141
```python
4242
#Create a role "salesRead" which access to read-only role to salesDB database
@@ -63,7 +63,7 @@ salesReadPass = 'salesReadPass'
6363
</details>
6464
:::
6565

66-
### 3. Test that 'salesReadUser' cannot insert data into the 'salesDB' database.
66+
### 3. Test that "salesReadUser" cannot insert data into the "salesDB" database.
6767

6868
```python
6969
# Get connection string
@@ -84,7 +84,7 @@ except Exception as e:
8484
print(f"Error inserting data: {e}")
8585
```
8686

87-
### 4. Test that 'myNewClusterAdmin' can insert data into the 'salesDB' database.
87+
### 4. Test that "myNewClusterAdmin" can insert data into the "salesDB" database.
8888

8989
```python
9090
# Get connection string
@@ -105,6 +105,6 @@ except Exception as e:
105105
print(f"Error inserting data: {e}")
106106
```
107107

108-
## Next Steps
108+
## Next steps
109109

110-
Start the chapter on [Queryable Encryption](./queryable-encryption) for data encryption.
110+
Start the chapter on [queryable encryption](./queryable-encryption) for data encryption.

0 commit comments

Comments
 (0)