[jira] [Commented] (AMBARI-24853) Cluster user can't modify shared widgets

2018-11-01 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/AMBARI-24853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16671650#comment-16671650
 ] 

Hudson commented on AMBARI-24853:
-

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10260 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10260/])
AMBARI-24853 Cluster user can't modify shared widgets (1963907+atkach: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=4160fed72536384a6fd250afa108c0338ea5f485])
* (edit) ambari-web/app/mixins/common/widgets/widget_mixin.js


> Cluster user can't modify shared widgets
> 
>
> Key: AMBARI-24853
> URL: https://issues.apache.org/jira/browse/AMBARI-24853
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.7.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> If a user with role "Cluster User" tries to "Edit Shared" widgets, the server 
> will return an error:
> {noformat}
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: An 
> internal system exception occurred: Only cluster operator can create widgets 
> with cluster scope"
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24853) Cluster user can't modify shared widgets

2018-11-01 Thread Andrii Tkach (JIRA)


[ 
https://issues.apache.org/jira/browse/AMBARI-24853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16671619#comment-16671619
 ] 

Andrii Tkach commented on AMBARI-24853:
---

committed to trunk

> Cluster user can't modify shared widgets
> 
>
> Key: AMBARI-24853
> URL: https://issues.apache.org/jira/browse/AMBARI-24853
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.7.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> If a user with role "Cluster User" tries to "Edit Shared" widgets, the server 
> will return an error:
> {noformat}
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: An 
> internal system exception occurred: Only cluster operator can create widgets 
> with cluster scope"
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)