Skip to content

Commit

Permalink
download thycotic membership bug fix. KC-755
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-keeper committed Mar 4, 2024
1 parent 8d24acb commit fddd361
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keepercommander/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# Contact: ops@keepersecurity.com
#

__version__ = '16.10.6'
__version__ = '16.10.7'
9 changes: 8 additions & 1 deletion keepercommander/importer/thycotic/thycotic.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def connect_to_server(url=None): # type: (Optional[str]) -> ThycoticAuth
logging.warning('Thycotic Host or URL is required')
return

if not url.startswith('https://'):
if not url.startswith('http'):
url = f'https://{url}'
username = input('...' + 'Thycotic Username'.rjust(30) + ': ')
if not username:
Expand Down Expand Up @@ -181,6 +181,13 @@ def get_folders(auth, skip_permissions=False): # type: (ThycoticAuth, bool
if user_permission != parent_user_permissions[user_id]:
are_same = False
break
for group_id, group_permission in group_permissions.items():
if group_id not in parent_group_permissions:
are_same = False
break
if group_permission != parent_group_permissions[group_id]:
are_same = False
break
if are_same:
del folder['permissions']
folder['inheritPermissions'] = True
Expand Down

0 comments on commit fddd361

Please sign in to comment.