You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/06/01 18:30:04 UTC

[jira] [Commented] (AMBARI-21120) Roles below Cluster Administrator should not be allowed to edit repositories and install stack versions

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

Hudson commented on AMBARI-21120:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7561 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7561/])
AMBARI-21120: Roles below Cluster Administrator should not be allowed to (sangeetar: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7a0eda7ec99882fd40bdd6b036e2301f6e0486da])
* (edit) ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_box_view.js
* (edit) ambari-web/test/views/main/admin/stack_upgrade/upgrade_version_box_view_test.js


> Roles below Cluster Administrator should not be allowed to edit repositories and install stack versions
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21120
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21120
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: AMBARI-21120.patch
>
>
> Login as a user with a role below Cluster Administrator. For e.g. Service Admnistrator.
> Click on Stack and Versions.
> 1. Try to edit a stack version that is not yet installed on the cluster.
> Click on Save. The UI reloads and returns to Services Dashboard.
> On the browser console, you can see a HTTP 403 because the user does not have the privilege to edit stack versions. 
> 2. Click on Install. When you click on on the popup confirming that the packages will be installed on all hosts, you get a popup with an error "Packages could not be installed. You do not have permissions to access this resource".
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)