Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24109

Files View: update of permissions is not reflected in file list until refresh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.6.2
    • None
    • contrib
    • None

    Description

      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...

      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) => {
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hugo.larcher Hugo Larcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: