[
https://issues.apache.org/jira/browse/AMBARI-11856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582288#comment-14582288
]
Hudson commented on AMBARI-11856:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.1 #7 (See
[https://builds.apache.org/job/Ambari-branch-2.1/7/])
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=d217aa8a3648f70086d22801809618eab819d5ee)
* contrib/views/files/src/main/resources/ui/config.coffee
* contrib/views/files/src/main/resources/ui/app/controllers/filesAlert.js
* contrib/views/files/src/main/resources/ui/app/initialize.js
* contrib/views/files/src/main/resources/ui/app/templates/util/errorRow.hbs
* contrib/views/files/src/main/resources/ui/app/components/toggleContext.js
* contrib/views/files/src/main/resources/ui/app/routes/file.js
* contrib/views/files/src/main/resources/ui/app/templates/util/fileRow.hbs
*
contrib/views/files/src/main/resources/ui/app/templates/components/mkdirInput.hbs
* contrib/views/files/src/main/resources/ui/app/components/mkdirInput.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/templates/files.hbs
* contrib/views/files/src/main/resources/ui/app/controllers/file.js
* contrib/views/files/src/main/resources/ui/app/components/confirmDelete.js
* contrib/views/files/src/main/resources/ui/app/templates/error.hbs
> 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)