ArcGIS API for JavaScript: EsriTesting/PlanningPermissions (MapServer)
Built using the ArcGIS API for JavaScript