[
https://issues.apache.org/jira/browse/AMBARI-24605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609145#comment-16609145
]
Hudson commented on AMBARI-24605:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #233 (See
[https://builds.apache.org/job/Ambari-branch-2.7/233/])
AMBARI-24605. Using the new RBAC framework to allow cluster (github:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=d96bfd326d186955dee564e03e27488ab1da8df2])
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/RoleAuthorization.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog272.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetResourceProvider.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/WidgetResourceProviderTest.java
> ambari-server exception if any user with cluster operator role is trying to
> edit the widget.
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-24605
> URL: https://issues.apache.org/jira/browse/AMBARI-24605
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.1
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.7.2
>
> Attachments: RoleChart.png,
> errorWhileEditingWidgetsAsClusterOperator.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> *STR*
> 1. login using widgetuser(username),widgetpass(password) the role is cluster
> operator
> 2. go to hdfs-> metrics tab
> 3. EDIT shared the "Under Replicated Blocks" widgets.
> 4. the error can be reproduced
> *Actual Result:*
> !errorWhileEditingWidgetsAsClusterOperator.png!
> *Expected Result:*
> According to our Role Chart a user with Cluster Operator role should be able
> to create/edit widgets
> !RoleChart.png!
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)