message: fix(volume-attachment): Volume/VM Attachment dialog allows to attach Disk and VM from different accounts
diff: @@ -3,6 +3,7 @@ import { MdDialog } from '@angular/material';
  import { Observable } from 'rxjs/Observable';
  import { Volume } from '../../../../../shared/models';
  import { VolumeService } from '../../../../../shared/services/volume.service';
  +import { AuthService } from '../../../../../shared/services/auth.service';
  import { VirtualMachine } from '../../../../shared/vm.model';
  import { VolumeAttachmentDialogComponent } from '../volume-attchment-dialog/volume-attachment-dialog.component';
  @@ -22,7 +23,8 @@ export class VolumeAttachmentDetailComponent implements OnInit {
  constructor(
  private dialog: MdDialog,
  - private volumeService: VolumeService
  + private volumeService: VolumeService,
  + private authService: AuthService
  ) {}
  public ngOnInit(): void {
  @@ -62,7 +64,9 @@ export class VolumeAttachmentDetailComponent implements OnInit {
  return this.volumeService
  .getSpareList({ zoneId: this.virtualMachine.zoneId })
  .map(volumes => {
  - this.volumes = volumes;
  + this.volumes = this.authService.isAdmin()
  + ? volumes
  + : volumes.filter(item => item.account === this.virtualMachine.account);
  });
  }
  }
  