Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  ScenarioNode selection
) id:Response_ListScenario_MenuEditAuthorization_OnClick
{
  #keys: '[134266.1.2113347138]'
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick
  Initiator: 'MenuEditAuthorization'
  Precondition:
  [*
    username := ApplicationMacroPlanner.GetUserName();
    return feedback = ''
           and selection.CanSetAuthorization( username, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Edit authorization
      dlg := construct( DialogEditScenarioAuthorization );
      dlg.EditScenarioAuthorization( selection );
    *]
    GroupServerCalls: false
  }
}
