Quintiq file version 2.0
#parent: SplitterWnd/ButtonUnassign
Response OnClick (
  structured[ScenarioAuthorization] selection
) id:Response_SplitterWnd_ButtonUnassign_OnClick
{
  #keys: '[11660.0.327677422]'
  Body:
  [*
    // Unassign User Group to Scenario
    Dialog.UnassignUserGroup( selection );
    Dialog.RefreshAllUserGroups();
  *]
  DefinitionID => /SplitterWnd/Responsedef_SplitterWnd_ButtonUnassign_OnClick
  Precondition:
  [*
    feedback := "";
    return selection.Element( 0 ).ScenarioNode().CanUnAssigned(  selection, feedback );
  *]
}
