Skip to content

Commit

Permalink
docs: Add ROLE description
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Oct 23, 2024
1 parent af3dc41 commit a51a0d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ The Database Playground is a platform designed to enhance your SQL skills throug
```bash
php ./bin/console app:create-user -p "yourpassword" -r "ROLE_ADMIN" "admin" "admin@youremail.tld"
```
- `ROLE_USER` is the default role suitable for regular users, such as students.
- `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.
- `ROLE_ALLOWED_TO_SWITCH` is the role that permits switching (impersonating) to another user, which is useful for debugging.
7. (Optional) Import the schema and questions using:
```bash
php ./bin/console app:import schema.json
Expand Down

0 comments on commit a51a0d9

Please sign in to comment.