Fix collections and native app issue (#4685)

Collections were not visible in the organization view.
This was because the `flexibleCollections` was set to `true`

Found an issue with loading some old created Secure Notes which had `{}` or `{"type":null}` as there `data` value.
This isn't allowed. When detected, replace it with `{"type":0}`

Fixes #4682
Fixes #4590
This commit is contained in:
Mathijs van Veluw authored and GitHub committed 2024-07-03 21:11:04 +02:00
1 parent a4c7fadbf4
commit d42b264a93
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -406,7 +406,7 @@ impl UserOrganization {
"accessSecretsManager": false,
"limitCollectionCreationDeletion": true,
"allowAdminAccessToAllCollectionItems": true,
"flexibleCollections": true,
"flexibleCollections": false,
"permissions": permissions,