Skip to content

Commit a51a0d9

Browse files
committed
docs: Add ROLE description
1 parent af3dc41 commit a51a0d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ The Database Playground is a platform designed to enhance your SQL skills throug
2626
```bash
2727
php ./bin/console app:create-user -p "yourpassword" -r "ROLE_ADMIN" "admin" "[email protected]"
2828
```
29+
- `ROLE_USER` is the default role suitable for regular users, such as students.
30+
- `ROLE_ADMIN` is the administrator role that grants access to the admin panel, enables management of questions, and allows viewing of all submissions and feedback.
31+
- `ROLE_ALLOWED_TO_SWITCH` is the role that permits switching (impersonating) to another user, which is useful for debugging.
2932
7. (Optional) Import the schema and questions using:
3033
```bash
3134
php ./bin/console app:import schema.json

0 commit comments

Comments
 (0)