diff --git a/sign_client/sign_client/model.py b/sign_client/sign_client/model.py index d3f66e66..75bbdf57 100644 --- a/sign_client/sign_client/model.py +++ b/sign_client/sign_client/model.py @@ -147,7 +147,7 @@ def from_dict(cls, dct): @dataclass class BooleanSettingsInfo: value: bool - inherited: bool + inherited: bool = False @classmethod def from_dict(cls, dct): @@ -159,6 +159,8 @@ class SettingsInfo: libaryDocumentCreationVisible: BooleanSettingsInfo = None sendRestrictedToWorkflows: BooleanSettingsInfo = None userCanSend: BooleanSettingsInfo = None + userManagedWorkflowsEnabled: BooleanSettingsInfo = None + allowedToShareUserCreatedWorkflows: BooleanSettingsInfo = None @classmethod def from_dict(cls, dct): diff --git a/user_sync/cache/sign/cache.py b/user_sync/cache/sign/cache.py index 326b0820..cf80faf3 100644 --- a/user_sync/cache/sign/cache.py +++ b/user_sync/cache/sign/cache.py @@ -11,7 +11,7 @@ class SignCache(CacheBase): # increment this every time there are changes to table schema or data model - VERSION: int = 1 + VERSION: int = 2 def __init__(self, store_path: Path, org_name: str) -> None: sqlite3.register_adapter(DetailedUserInfo, adapt_user)