Use write only permission by default

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-12-04 07:50:53 +01:00
parent c33b41dcbe
commit 9e58207392
3 changed files with 12 additions and 9 deletions

View File

@@ -417,15 +417,15 @@ class BoardService {
throw new BadRequestException('participant must be provided');
}
if ($edit === false || $edit === null) {
if ($edit === null) {
throw new BadRequestException('edit must be provided');
}
if ($share === false || $share === null) {
if ($share === null) {
throw new BadRequestException('share must be provided');
}
if ($manage === false || $manage === null) {
if ($manage === null) {
throw new BadRequestException('manage must be provided');
}