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

Hudson commented on AMBARI-16861:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4925 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4925/])
AMBARI-16861 - User/Group with no Cluster Role assigned but having View (rzang: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b86a136692ceaca7efa609a1904553cbaaf739e2])
* 
ambari-admin/src/main/resources/ui/admin-web/test/unit/controllers/clusters/UserAccessListCtrl_test.js
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/UserAccessListCtrl.js


> User/Group with no Cluster Role assigned but having View Permissions of 
> "VIEW.USER" are shown as not editable in the List View
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-16861
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16861
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-admin
>    Affects Versions: trunk
>            Reporter: Keta Patel
>            Assignee: Keta Patel
>            Priority: Minor
>         Attachments: AMBARI-16861.patch, 
> ambari_admin_test_cases_after_fix.tiff, 
> ambari_admin_test_cases_before_fix.tiff, view_user_for_group.tiff, 
> view_user_for_user.tiff
>
>
> Steps to reproduce this issue:
> 1. Create a few local users. I have created users "aaa", "bbb", "ccc" in my 
> case.
> 2. Create a view instance of your choice and assign one of the local users to 
> this view instance. I have assigned user "aaa" to the a Jobs view instance.
> 3. Go to Manage Ambari -> Roles -> List View
> 4. You see the user "aaa" showing Cluster Role of "View User" and is not 
> editable from this page. (attachment "view_user_for_user.tiff")
> I had recreated this issue using group also. Please find attachment 
> "view_user_for_group.tiff" showing the List View for the case of group 
> assigned with View User permission alone.
> Since View Permissions must not be mixed with the Cluster Permissions, the 
> proposed fix should show Cluster Permission of "None" for users who have only 
> "View User" permissions and no Cluster Permissions. This would allow the 
> ambari user to edit the Cluster Permissions of the local users from the List 
> View page.
> Note: A workaround found to edit such users' Cluster Permissions is to go to 
> the Block View and assign some Cluster Permission. Then the List View shows 
> the Cluster Permission and is editable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to