You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stage_descriptions/auth-02-gx8.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ In this stage, you'll add support for responding to the `ACL GETUSER` command.
2
2
3
3
### The `ACL GETUSER` command
4
4
5
-
The [`ACL GETUSER`](https://redis.io/docs/latest/commands/acl-getuser/) is used to retrieve the properties the specified user. In Redis, the `default` user is present from the start, without having to create it explicitly.
5
+
The [`ACL GETUSER`](https://redis.io/docs/latest/commands/acl-getuser/) is used to retrieve the properties of the specified user. In Redis, the `default` user is present from the start, without having to create it explicitly.
6
6
7
7
The `ACL GETUSER` returns multiple properties of the user, among which `flags` is one. In this stage, you'll add support for responding to the `ACL GETUSER` command with only the flags property.
8
8
@@ -13,7 +13,7 @@ Example usage:
13
13
2) (empty array)
14
14
```
15
15
16
-
The second element of the resposne is the flags array. This is because a user can have multiple flags associated with it. In this stage, you can hardcode the flags array to be an empty array.
16
+
The second element of the response is the flags array. This is because a user can have multiple flags associated with it. In this stage, you can hardcode the flags array to be an empty array.
17
17
18
18
### Tests
19
19
@@ -23,7 +23,7 @@ The tester will execute your program like this:
23
23
$ ./your_program.sh
24
24
```
25
25
26
-
It'll then send an `ACL GETUSER` command specifying the `default` user.
26
+
It will then send an `ACL GETUSER` command specifying the `default` user.
27
27
28
28
```bash
29
29
# Expect RESP array: ["flags", []]
@@ -41,5 +41,4 @@ The tester will validate the following for the response:
41
41
### Notes
42
42
43
43
- A user can have multiple flags. This is why the value of flags property is an array.
44
-
45
-
- The second element of the array is the flags array, which contains the user flags. We'll get to this in the later stages.
44
+
- The second element of the array is the flags array, which contains the user flags. We'll get to this in the later stages.
0 commit comments