Skip to content

Commit ff692fc

Browse files
authored
Update auth-02-gx8.md
1 parent 79d524b commit ff692fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stage_descriptions/auth-02-gx8.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
In this stage, you'll add support for the `ACL GETUSER` command.
22

3-
### The `ACL GETUSER` command
3+
### The `ACL GETUSER` Command
44

55
The [`ACL GETUSER`](https://redis.io/docs/latest/commands/acl-getuser/) command retrieves the properties of a specified user. In Redis, the `default` user is present from the start and does not need to be created.
66

77
For example:
8+
89
```bash
910
> ACL GETUSER default
1011
1) "flags"
1112
2) (empty array)
1213
...
1314
```
1415

15-
The command expects the response to be a nested RESP array of property name-value pairs for a user:
16+
The return value is nested RESP array of property name-value pairs for a user:
1617

1718
```bash
1819
[property_name_1, property_value_1, property_name_2, property_value_2, ...]
@@ -34,7 +35,7 @@ For example, after creating or modifying a user, the flags array might look like
3435
3) "allcommands"
3536
```
3637

37-
For this stage, since the `default` user has no flags to report yet, you will hardcode this to be an empty RESP array (`[]`).
38+
For this stage, since the `default` user has no `flags` to report yet, you will hardcode the value to be an empty RESP array (`[]`).
3839

3940
### Tests
4041

0 commit comments

Comments
 (0)