ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <rle...@hortonworks.com>
Subject Re: Review Request 41053: Enforce granular role-based access control for host functions
Date Mon, 07 Dec 2015 21:57:44 GMT

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

(Updated Dec. 7, 2015, 4:57 p.m.)


Review request for Ambari.


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


Repository: ambari


Description
-------

Enforce granular role-based access control for host functions:

                              | Cluster User | Service Operator | Service Administrator |
Cluster Operator | Cluster Administrator | Administrator
Turn on/off maintenance mode  |              |                  |                       |
(+)              | (+)                   | (+)
Add/Delete hosts              |              |                  |                       |
(+)              | (+)                   | (+)
View host details             | (+)          | (+)              | (+)                   |
(+)              | (+)                   | (+)

Entry points affected:
- GET api/vi/hosts
- GET api/vi/hosts/:host_name
- POST api/vi/hosts/:host_name
- PUT api/vi/hosts/:host_name
- DELETE api/vi/hosts/:host_name


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
60b6901 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
39d4040 
  ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java
c87c338 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
5272c4c 
  ambari-server/src/test/java/org/apache/ambari/server/security/TestAuthenticationFactory.java
94f119c 

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


Testing
-------

Manually tested

# Jenkins test results: PENDING


Thanks,

Robert Levas


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message