(organization) add metadata field

This allows to store custom values which can be reused along the
organization lifetime.
This commit is contained in:
Quentin BEY
2025-03-10 15:59:01 +01:00
committed by BEY Quentin
parent 3aaddc0493
commit 7ce5b28af4
8 changed files with 228 additions and 13 deletions

View File

@@ -550,6 +550,11 @@ class Base(Configuration):
environ_name="ORGANIZATION_PLUGINS",
environ_prefix=None,
)
ORGANIZATION_METADATA_SCHEMA = values.Value(
default=None,
environ_name="ORGANIZATION_METADATA_SCHEMA",
environ_prefix=None,
)
OAUTH2_PROVIDER_APPLICATION_MODEL = "oauth2_provider.Application"
OAUTH2_PROVIDER_GRANT_MODEL = "mailbox_oauth2.Grant"