Do you have code for this that I can see? The devil is in the details.
Sorry, i'm a little off today, so this could be wrong, but you get the idea. This would just be for the check, the actual code would have to return the paths that get to a positive result.
def is_trusted(username, trusted_list):
for trusted in trusted_list:
if username == trusted:
return True
if is_trusted(username, get_trusted_list(trusted)):
return True
return False
Rabbit hole is deep.
Wow, thank you for finding that. Hopefully get to read it tomorrow.
(post is archived)