Add check for dropdown to only check if childs are allowed for user

Now the dropdown also shows up when a child is allowed for user but the dropdown itself is not added to his allowed resources.