Add admin interface to enable the self service functionality

This commit is contained in:
Patrick Gansterer 2021-02-18 12:38:07 +01:00
parent e6061e6760
commit 00f1dddd3d
5 changed files with 7 additions and 3 deletions

View file

@ -90,7 +90,7 @@ paths:
security:
- foodsoft_auth: ['finance:user']
post:
summary: create new financial transaction
summary: create new financial transaction (requires enabled self service)
tags:
- 1. User
- 6. FinancialTransaction
@ -114,7 +114,7 @@ paths:
schema:
$ref: '#/definitions/Error401'
403:
description: user has no ordergroup, is below minimum balance, or missing scope
description: user has no ordergroup, is below minimum balance, self service is disabled, or missing scope
schema:
$ref: '#/definitions/Error403'
404: