Skip to content

Commit

Permalink
Documented Staff Roles
Browse files Browse the repository at this point in the history
Closes #19
  • Loading branch information
chsxf committed Apr 7, 2024
1 parent ff60e09 commit 1c35cc9
Show file tree
Hide file tree
Showing 15 changed files with 1,883 additions and 1,861 deletions.
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
{
"editor.tabSize": 2,
"editor.detectIndentation": false
"editor.detectIndentation": false,
"[markdown]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
},
"editor.formatOnSave": true
}
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ Things you may want to cover:
* Deployment instructions

* ...

## Documentation

- [Useful Notes](docs/NOTES.md)
- [Staff Roles](docs/STAFF_ROLES.md)
File renamed without changes.
20 changes: 20 additions & 0 deletions docs/STAFF_ROLES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Staff Roles

## Defined Roles

| Key | English | French |
| --------------------- | ------------------- | ---------------------- |
| `taikai_admin` | Administrator | Administrateur |
| `dojo_admin` | Dojo Administrator | Administrateur de club |
| `chairman` | Chairman | Directeur du tournoi |
| `marking_referee` | Marking Referee | Enregistreur |
| `shajo_referee` | Shajo Referee | Juge de shajo |
| `yatori` | Yatori | Yatori |
| `target_referee` | Target Referee | Juge de Cible |
| `operations_chairman` | Operations Chairman | Responsable Logistique |

## Transition Constraints

| From State | To State | Taikai Types | Required Staff Roles |
| ------------ | -------- | ------------ | --------------------------------------------- |
| Registration | Marking | All | `chairman`, `shajo_referee`, `target_referee` |
17 changes: 0 additions & 17 deletions docs/configurations.md

This file was deleted.

16 changes: 8 additions & 8 deletions test/fixtures/dojos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ dojo_fr:
name: dojo_fr
city: Montpelier
country_code: FR
created_at: 2024-02-11 14:39:53.195214000 Z
updated_at: 2024-02-11 14:39:53.195214000 Z
created_at: 2024-04-07 09:11:01.426389000 Z
updated_at: 2024-04-07 09:11:01.426389000 Z
dojo_hk:
id: 2
shortname: club-2
name: dojo_hk
city: Hong-Kong
country_code: HK
created_at: 2024-02-11 14:39:53.203113000 Z
updated_at: 2024-02-11 14:39:53.203113000 Z
created_at: 2024-04-07 09:11:01.429564000 Z
updated_at: 2024-04-07 09:11:01.429564000 Z
dojo_jp:
id: 3
shortname: club-3
name: dojo_jp
city: Kyoto
country_code: JP
created_at: 2024-02-11 14:39:53.209657000 Z
updated_at: 2024-02-11 14:39:53.209657000 Z
created_at: 2024-04-07 09:11:01.431683000 Z
updated_at: 2024-04-07 09:11:01.431683000 Z
dojo_to_delete:
id: 4
shortname: club-4
name: Dojo To Delete
city: Kyoto
country_code: JP
created_at: 2024-02-11 14:39:53.215580000 Z
updated_at: 2024-02-11 14:39:53.215580000 Z
created_at: 2024-04-07 09:11:01.433927000 Z
updated_at: 2024-04-07 09:11:01.433927000 Z
Loading

0 comments on commit 1c35cc9

Please sign in to comment.