Skip to content

Commit

Permalink
Update SettingsInfo model
Browse files Browse the repository at this point in the history
  • Loading branch information
adorton-adobe committed Jun 21, 2022
1 parent 7d5b28a commit b8be71f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sign_client/sign_client/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion user_sync/cache/sign/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b8be71f

Please sign in to comment.