cleaned up redundant code for resolving map permissions
Merge pull request #1681 from Applied-GeoSolutions/cleanup_resolvemap

cleaned up redundant code for resolving map permissions