Skip to content

Commit b8be71f

Browse files
committed
Update SettingsInfo model
1 parent 7d5b28a commit b8be71f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sign_client/sign_client/model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def from_dict(cls, dct):
147147
@dataclass
148148
class BooleanSettingsInfo:
149149
value: bool
150-
inherited: bool
150+
inherited: bool = False
151151

152152
@classmethod
153153
def from_dict(cls, dct):
@@ -159,6 +159,8 @@ class SettingsInfo:
159159
libaryDocumentCreationVisible: BooleanSettingsInfo = None
160160
sendRestrictedToWorkflows: BooleanSettingsInfo = None
161161
userCanSend: BooleanSettingsInfo = None
162+
userManagedWorkflowsEnabled: BooleanSettingsInfo = None
163+
allowedToShareUserCreatedWorkflows: BooleanSettingsInfo = None
162164

163165
@classmethod
164166
def from_dict(cls, dct):

user_sync/cache/sign/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class SignCache(CacheBase):
1313
# increment this every time there are changes to table schema or data model
14-
VERSION: int = 1
14+
VERSION: int = 2
1515

1616
def __init__(self, store_path: Path, org_name: str) -> None:
1717
sqlite3.register_adapter(DetailedUserInfo, adapt_user)

0 commit comments

Comments
 (0)