cleaned up redundant code for resolving map permissions
added SITE_VECTOR filter