Skip to content

Commit 733f8b8

Browse files
authored
Revise "Respond to ACL GETUSER #gx8"
1 parent 74ddac4 commit 733f8b8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

stage_descriptions/auth-02-gx8.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ In this stage, you'll add support for responding to the `ACL GETUSER` command.
22

33
### The `ACL GETUSER` command
44

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.
66

77
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.
88

@@ -13,7 +13,7 @@ Example usage:
1313
2) (empty array)
1414
```
1515

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.
1717

1818
### Tests
1919

@@ -23,7 +23,7 @@ The tester will execute your program like this:
2323
$ ./your_program.sh
2424
```
2525

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.
2727

2828
```bash
2929
# Expect RESP array: ["flags", []]
@@ -41,5 +41,4 @@ The tester will validate the following for the response:
4141
### Notes
4242

4343
- 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

Comments
 (0)