-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48640/
-----------------------------------------------------------

Review request for Ambari, Eugene Chekanskiy, Jonathan Hurley, Nate Cole, and 
Vitalyi Brodetskyi.


Bugs: AMBARI-17177
    https://issues.apache.org/jira/browse/AMBARI-17177


Repository: ambari


Description
-------

Add SERVICE.VIEW_OPERATIONAL_LOGS authorization to the following roles:

* AMBARI.ADMINISTRATOR 
* CLUSTER.ADMINISTRATOR 
* CLUSTER.OPERATOR 
* SERVICE.ADMINISTRATOR

This is a DB change adding an authorization record to the `roleauthorization` 
table and relevant records for the different roles to the 
`permission_roleauthorization` table. 

The description/name of the `SERVICE.VIEW_OPERATIONAL_LOGS` authorization 
should be
```
View service operational logs
```


Diffs
-----

  ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Cluster.js 
33ed7ed 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RoleAuthorizationDAO.java
 aa74224 
  
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/RoleAuthorization.java
 ee948fe 
  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
 3ee8bba 
  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
 6b038f4 
  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
 5016325 
  ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql fff1716 
  ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql e7eff93 
  ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql b90c7da 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql b9181d2 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
c840b9c 
  ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 742eaa3 
  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 87ef7fb 
  
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
 d7e13ea 
  
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
 c221138 

Diff: https://reviews.apache.org/r/48640/diff/


Testing
-------

Manually tested upgrade and new cluster creation

# Local test results:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:16:17.022s
[INFO] Finished at: Mon Jun 13 09:41:19 EDT 2016
[INFO] Final Memory: 59M/1881M
[INFO] ------------------------------------------------------------------------

# Jenkins test results: PENDING


Thanks,

Robert Levas

Reply via email to