Implement Spark roles