Skip to content

Commit d054610

Browse files
committed
Update python/HOC2023/scene4.md
1 parent 1986448 commit d054610

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

python/HOC2023/scene4.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
We've discovered a significant problem with the door lock system. Right now, anyone can see the event logs, which is a big privacy and security concern. To fix this issue, we need to update the code so that only administrators have access to the event logs.
99

10+
The `permission_group()` function takes one parameter which defines which permission group it's being compared to.
11+
12+
Valid permission groups are:
13+
- `anyone`
14+
- `user`
15+
- `admin`
16+
1017
```python
1118

1219
agent.move(RIGHT, 1)

0 commit comments

Comments
 (0)