You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hugo Larcher (JIRA)" <ji...@apache.org> on 2018/06/15 11:20:00 UTC
[jira] [Created] (AMBARI-24109) Files View: update of permissions
is not reflected in file list until refresh
Hugo Larcher created AMBARI-24109:
-------------------------------------
Summary: Files View: update of permissions is not reflected in file list until refresh
Key: AMBARI-24109
URL: https://issues.apache.org/jira/browse/AMBARI-24109
Project: Ambari
Issue Type: Bug
Components: contrib
Affects Versions: 2.6.2
Reporter: Hugo Larcher
When updating files permissions in Files View, permissions are correctly set but the view is not updated with the new permissions. The user has to click on the refresh button or refresh the browser to see the updated permissions.
Investigating a bit, in permission-modal.js, permissions are effectively set on the object but UI is not updated...
{code:java}
this.set('isUpdating', true);
this.get('fileOperationService').chmod(this.get('selected').get('path'), newPermission).then((response) => {
this.get('selected').set('permission', response.permission);
this.set('isUpdating', false);
this.send('close');
}, (error) => {
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)