Browse Source
set maxStorageGb limit to max signed int value
pull/4726/head
Stefan Melmuk
9 months ago
No known key found for this signature in database
GPG Key ID: 817020C608FE9C09
1 changed files with
2 additions and
2 deletions
-
src/db/models/organization.rs
|
|
@ -159,7 +159,7 @@ impl Organization { |
|
|
|
"seats": null, |
|
|
|
"maxAutoscaleSeats": null, |
|
|
|
"maxCollections": null, |
|
|
|
"maxStorageGb": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"maxStorageGb": i16::MAX, // The value doesn't matter, we don't check server-side
|
|
|
|
"use2fa": true, |
|
|
|
"useCustomPermissions": false, |
|
|
|
"useDirectory": false, // Is supported, but this value isn't checked anywhere (yet)
|
|
|
@ -413,7 +413,7 @@ impl UserOrganization { |
|
|
|
|
|
|
|
"permissions": permissions, |
|
|
|
|
|
|
|
"maxStorageGb": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"maxStorageGb": i16::MAX, // The value doesn't matter, we don't check server-side
|
|
|
|
|
|
|
|
// These are per user
|
|
|
|
"userId": self.user_uuid, |
|
|
|