Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  ScenarioNode selection
) id:Response_ListScenario_MenuScenarioEditAuthorization_OnClick
{
  #keys: '[11766.1.296332239]'
  Body:
  [*
    // Edit authorization
    dlg := construct( ScenarioManager_DialogEditScenarioAuthorization );
    dlg.EditScenarioAuthorization( selection, this );
  *]
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_Menu_OnClick
  Initiator: 'MenuScenarioEditAuthorization'
  Precondition:
  [*
    username := ApplicationLibMacroPlanner.GetUserName();
    return selection.CanSetAuthorization( username, feedback );
  *]
  UserRequiresReadWrite: true
}
