draft: todos

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-07-19 09:55:43 +02:00
parent e2ac4df537
commit e48a1c6a94
2 changed files with 2 additions and 1 deletions

View File

@@ -117,7 +117,6 @@ class BoardImportService {
$this->importComments(); $this->importComments();
$this->importCardAssignments(); $this->importCardAssignments();
} catch (\Throwable $th) { } catch (\Throwable $th) {
throw $th;
throw new BadRequestException($th->getMessage()); throw new BadRequestException($th->getMessage());
} }
} }

View File

@@ -216,6 +216,8 @@ class DeckJsonService extends ABoardImportService {
$acl->setPermissionEdit(false); $acl->setPermissionEdit(false);
$acl->setPermissionShare(false); $acl->setPermissionShare(false);
$acl->setPermissionManage(false); $acl->setPermissionManage(false);
// FIXME: Figure out a way to collect and aggregate warnings about users
// FIXME: Maybe have a dry run?
$return[] = $acl; $return[] = $acl;
} }
return $return; return $return;