Skip to content

Commit

Permalink
checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Oct 6, 2023
1 parent 97db622 commit 2f47ded
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev/scripts.community/check_unverified_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,12 @@ def do_check():

print(f'{unverified_user} found related {found_users}')
if found_users:
owned_namespaces = rbac.get_owned_v3_namespaces(unverified_user)
for found_user in found_users:
print(f'FIX - copy perms from {unverified_user} to {found_user}')
found_namespaces = rbac.get_owned_v3_namespaces(found_user)
for owned_namespace in owned_namespaces:
if owned_namespace not in found_namespaces:
print(f'FIX - copy perms from {unverified_user} to {found_user} for ns:{owned_namespace}')

#if 'IPvSean' in github_logins:
# # print(gdata)
Expand Down

0 comments on commit 2f47ded

Please sign in to comment.