Permissions form must display edit layer data and styles fields only if resource is a layer