For a user to have modification access he/she should have the permission. To make a user an admin, you can refer to the command:
val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.modify.acls=<comma separated values of user>