Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/09/12 17:22:38 (12 years ago)
Author:
ascheibe
Message:

#1174 added client-side security checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/CreateFromExperimentMenuItem.cs

    r7580 r7592  
    4040    protected override void OnActiveViewChanged(object sender, EventArgs e) {
    4141      IContentView activeView = MainFormManager.MainForm.ActiveView as IContentView;
    42       ToolStripItem.Enabled = (activeView != null) && (activeView.Content != null) && (activeView.Content is Experiment) && !activeView.Locked;
     42      ToolStripItem.Enabled = (activeView != null) && (activeView.Content != null) && (activeView.Content is Experiment) && !activeView.Locked && OKBRoles.CheckUserPermissions();
    4343    }
    4444
Note: See TracChangeset for help on using the changeset viewer.