Disallow to view a file with components-v2

This commit is contained in:
Andrés Moya 2022-09-05 15:53:19 +02:00
parent ce7eed5ea0
commit 3a6876eeec
3 changed files with 19 additions and 5 deletions

View file

@ -45,6 +45,7 @@
(s/def ::file-id ::us/uuid)
(s/def ::profile-id ::us/uuid)
(s/def ::share-id ::us/uuid)
(s/def ::components-v2 ::us/boolean)
(s/def ::view-only-bundle
(s/keys :req-un [::file-id] :opt-un [::profile-id ::share-id ::components-v2]))