Browse Source

set maxStorageGb limit to max signed int value

pull/4726/head
Stefan Melmuk 9 months ago
parent
commit
85cd53fdc1
No known key found for this signature in database GPG Key ID: 817020C608FE9C09
  1. 4
      src/db/models/organization.rs

4
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,

Loading…
Cancel
Save