check_access function return values

Hello,

I have just been trying to get all the access control to work and have figured out that the return values of both check_access_to_dirs_groups() and check_access_to_dir() are incorrect. The following is the changes I have made. Please confirm:

main.php
line 662 false (user group in parent restricted)
l 669 false (user group in restricted)
l 673 true (user groups not in restricted)
l 679 false (no groups in user details)
l 695 false (user group in parent restricted)
l 702 false (user group in restricted)
l 706 true (user groups not in restricted)
l 712 false (no groups in user details)

Cheers.

From,
Jack


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">