|
|
@ -156,11 +156,12 @@ impl Organization {
|
|
|
|
"id": self.uuid,
|
|
|
|
"id": self.uuid,
|
|
|
|
"identifier": null, // not supported by us
|
|
|
|
"identifier": null, // not supported by us
|
|
|
|
"name": self.name,
|
|
|
|
"name": self.name,
|
|
|
|
"seats": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"seats": null,
|
|
|
|
// "maxAutoscaleSeats": null, // The value doesn't matter, we don't check server-side
|
|
|
|
"maxAutoscaleSeats": null,
|
|
|
|
"maxCollections": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"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,
|
|
|
|
"use2fa": true,
|
|
|
|
|
|
|
|
"useCustomPermissions": false,
|
|
|
|
"useDirectory": false, // Is supported, but this value isn't checked anywhere (yet)
|
|
|
|
"useDirectory": false, // Is supported, but this value isn't checked anywhere (yet)
|
|
|
|
"useEvents": CONFIG.org_events_enabled(),
|
|
|
|
"useEvents": CONFIG.org_events_enabled(),
|
|
|
|
"useGroups": CONFIG.org_groups_enabled(),
|
|
|
|
"useGroups": CONFIG.org_groups_enabled(),
|
|
|
@ -182,8 +183,7 @@ impl Organization {
|
|
|
|
"businessTaxNumber": null,
|
|
|
|
"businessTaxNumber": null,
|
|
|
|
|
|
|
|
|
|
|
|
"billingEmail": self.billing_email,
|
|
|
|
"billingEmail": self.billing_email,
|
|
|
|
"plan": "TeamsAnnually",
|
|
|
|
"planType": 6, // Custom plan
|
|
|
|
"planType": 5, // TeamsAnnually plan
|
|
|
|
|
|
|
|
"usersGetPremium": true,
|
|
|
|
"usersGetPremium": true,
|
|
|
|
"object": "organization",
|
|
|
|
"object": "organization",
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -369,8 +369,9 @@ impl UserOrganization {
|
|
|
|
"id": self.org_uuid,
|
|
|
|
"id": self.org_uuid,
|
|
|
|
"identifier": null, // Not supported
|
|
|
|
"identifier": null, // Not supported
|
|
|
|
"name": org.name,
|
|
|
|
"name": org.name,
|
|
|
|
"seats": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"seats": null,
|
|
|
|
"maxCollections": 10, // The value doesn't matter, we don't check server-side
|
|
|
|
"maxAutoscaleSeats": null,
|
|
|
|
|
|
|
|
"maxCollections": null,
|
|
|
|
"usersGetPremium": true,
|
|
|
|
"usersGetPremium": true,
|
|
|
|
"use2fa": true,
|
|
|
|
"use2fa": true,
|
|
|
|
"useDirectory": false, // Is supported, but this value isn't checked anywhere (yet)
|
|
|
|
"useDirectory": false, // Is supported, but this value isn't checked anywhere (yet)
|
|
|
@ -392,12 +393,14 @@ impl UserOrganization {
|
|
|
|
"useCustomPermissions": false,
|
|
|
|
"useCustomPermissions": false,
|
|
|
|
"useActivateAutofillPolicy": false,
|
|
|
|
"useActivateAutofillPolicy": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"organizationUserId": self.uuid,
|
|
|
|
"providerId": null,
|
|
|
|
"providerId": null,
|
|
|
|
"providerName": null,
|
|
|
|
"providerName": null,
|
|
|
|
"providerType": null,
|
|
|
|
"providerType": null,
|
|
|
|
"familySponsorshipFriendlyName": null,
|
|
|
|
"familySponsorshipFriendlyName": null,
|
|
|
|
"familySponsorshipAvailable": false,
|
|
|
|
"familySponsorshipAvailable": false,
|
|
|
|
"planProductType": 0,
|
|
|
|
"planProductType": 3,
|
|
|
|
|
|
|
|
"productTierType": 3, // Enterprise tier
|
|
|
|
"keyConnectorEnabled": false,
|
|
|
|
"keyConnectorEnabled": false,
|
|
|
|
"keyConnectorUrl": null,
|
|
|
|
"keyConnectorUrl": null,
|
|
|
|
"familySponsorshipLastSyncDate": null,
|
|
|
|
"familySponsorshipLastSyncDate": null,
|
|
|
@ -410,7 +413,7 @@ impl UserOrganization {
|
|
|
|
|
|
|
|
|
|
|
|
"permissions": permissions,
|
|
|
|
"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
|
|
|
|
// These are per user
|
|
|
|
"userId": self.user_uuid,
|
|
|
|
"userId": self.user_uuid,
|
|
|
|