Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/12/16 17:09:12 (9 years ago)
Author:
jlodewyc
Message:

#2582 Security access implemented, directory renaming and choosing, adding more partials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Jobs/FileOpeningService.cs

    r13827 r13847  
    4343        public void NewModel()
    4444        {
    45             vm = new FileOpeningViewModel();
     45            vm = new FileOpeningViewModel(weblog.getCurrentUser(UserId));
    4646            Job = new RefreshableJob();
    4747
     
    8080            return null;
    8181        }
    82         public void SaveToFile(string file)
     82        public void SaveToFile(string file, string dname)
    8383        {
    8484            if(vm != null)
    8585            {
    8686                var uploads = Path.Combine(env.WebRootPath, "uploads", weblog.getServiceLocator(UserId).getHiveServiceClient().ClientCredentials.UserName.UserName,
    87                     "HiveChanged");
     87                    dname);
    8888                Directory.CreateDirectory(uploads);
    8989                var cont = Job.HiveTasks.First().ItemTask.Item;
Note: See TracChangeset for help on using the changeset viewer.