Changed logic for visitor permissions check