Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/24/10 02:37:56 (14 years ago)
Author:
swagner
Message:

Worked on OKB user authentication (#1167)

Location:
trunk/sources/HeuristicLab.Services.OKB.AttributeSelection/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.OKB.AttributeSelection/3.3/AttributeSelector.cs

    r4279 r4298  
    5656      typeof(Client).Name,
    5757      typeof(User).Name,
    58       typeof(ExperimentCreator).Name,
    5958    };
    6059
     
    7776      TableName = tableName;
    7877      FieldName = fieldName;
    79       if (tableName == typeof(ExperimentCreator).Name)
    80         tableName = typeof(User).Name;
    8178      TableType = GetTableType(tableName);
    8279      ITable Table = GetTable(okb, tableName);
  • trunk/sources/HeuristicLab.Services.OKB.AttributeSelection/3.3/RunAttributeSelector.cs

    r4279 r4298  
    8585      { typeof(User), typeof(Run) },
    8686      { typeof(Experiment), typeof(Run) },
    87       { typeof(ExperimentCreator), typeof(Experiment) },
    8887      { typeof(Project), typeof(Experiment) },
    8988      { typeof(Algorithm), typeof(Experiment) },
     
    198197        ExpressionTools.GetSelector(run => run.Experiment, x => x.Id),
    199198
    200         ExpressionTools.GetSelector(run => run.Experiment.ExperimentCreators.Single(), xc => xc.User.Id),
    201         ExpressionTools.GetSelector(run => run.Experiment.ExperimentCreators.Single(), xc => xc.User.Name),
    202 
    203199        ExpressionTools.GetSelector(run => run.Experiment.Project, p => p.Id),
    204200        ExpressionTools.GetSelector(run => run.Experiment.Project, p => p.Name),
Note: See TracChangeset for help on using the changeset viewer.