-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44074/
-----------------------------------------------------------
(Updated Feb. 29, 2016, 8:05 a.m.)
Review request for Ambari, Alexandr Antonenko, Robert Nettleton, and Swapan
Shridhar.
Bugs: AMBARI-15190
https://issues.apache.org/jira/browse/AMBARI-15190
Repository: ambari
Description
-------
We need to add authorization for Auto start services.
#Solution
- Users with the ability to modify cluster configurations
(`CLUSTER.MODIFY_CONFIGS`) should be able to toggle the cluster-level auto
start value.
- Users with the ability to start and stop services (`SERVICE.START_STOP`)
should be able to toggle the service-level auto start value.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ComponentResourceProvider.java
0e97e1e
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ComponentResourceProviderTest.java
c624cfd
ambari-web/app/views/main/admin.js 8b9ec03
ambari-web/app/views/main/menu.js b71bbd3
Diff: https://reviews.apache.org/r/44074/diff/
Testing (updated)
-------
Manually tested
# Jenkins test results:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2016-02-26T19:47:36+00:00
[INFO] Final Memory: 15M/302M
[INFO] ------------------------------------------------------------------------
Thanks,
Robert Levas