doc: use cases
This commit is contained in:
22
docs/design/use-cases.md
Normal file
22
docs/design/use-cases.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Use Cases
|
||||
|
||||
## Client
|
||||
The client pays a business or peer by scanning their QR code or clicking their URL.
|
||||
They are then shown the payment (send) screen that already contains the prefilled recipient and currency amount.
|
||||
The client then confirms payment with a button and optional confirmation dialog.
|
||||
|
||||
## Business
|
||||
The business requests payment from a client by sharing their URL / QR code.
|
||||
The client proceeds with the `Client` flow.
|
||||
|
||||
## Border Control
|
||||
|
||||
## Visitor
|
||||
Visitors obtain access by receiving credentials of a predefined visitor account.
|
||||
Upon login, they participate freely in the payment process as described by `Client` and `Business`.
|
||||
|
||||
## Administration
|
||||
|
||||
|
||||
## Onboarding
|
||||
Initial onboarding is performed by an administrator using a batch import feature.
|
||||
@@ -2,7 +2,6 @@ import { Table, Column, Model, DataType, Scopes, DefaultScope, DeletedAt, Belong
|
||||
|
||||
@Table
|
||||
@DefaultScope(() => ({
|
||||
//FIXME getting account still includes password
|
||||
attributes:{ exclude: ['password']}
|
||||
}))
|
||||
@Scopes(() => ({
|
||||
|
||||
Reference in New Issue
Block a user