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

Hudson commented on AMBARI-11856:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2887 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2887/])
AMBARI-11856. Disable delete button when applicable (Erik Bergenholtz via 
rlevas) (rlevas: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b314e8db0c0625e9ab9251757474789c1946ad0f)
* contrib/views/files/src/main/resources/ui/app/components/toggleContext.js
* contrib/views/files/src/main/resources/ui/app/templates/util/fileRow.hbs
* contrib/views/files/src/main/resources/ui/app/routes/file.js
* 
contrib/views/files/src/main/resources/ui/app/templates/components/mkdirInput.hbs
* contrib/views/files/src/main/resources/ui/app/templates/error.hbs
* contrib/views/files/src/main/resources/ui/app/components/mkdirInput.js
* contrib/views/files/src/main/resources/ui/app/templates/util/errorRow.hbs
* contrib/views/files/src/main/resources/ui/app/controllers/filesAlert.js
* 
contrib/views/files/src/main/resources/ui/app/templates/components/contextMenu.hbs
* contrib/views/files/src/main/resources/ui/app/controllers/files.js
* contrib/views/files/src/main/resources/ui/app/components/confirmDelete.js
* contrib/views/files/src/main/resources/ui/config.coffee
* contrib/views/files/src/main/resources/ui/app/templates/files.hbs
* contrib/views/files/src/main/resources/ui/app/initialize.js
* contrib/views/files/src/main/resources/ui/app/controllers/file.js


> File View: The delete button should be disabled if the user does not have 
> permissions to delete file (or directory)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11856
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11856
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Erik Bergenholtz
>            Assignee: Erik Bergenholtz
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11856.patch
>
>
> Just like we disable "New Directory" button when user doesn't have 
> permissions to do so, "Delete" button should also be disabled when user 
> doesn't have permissions to delete.



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

Reply via email to