Skip to content

Commit

Permalink
Merge pull request #2436 from rvdwegen/dev
Browse files Browse the repository at this point in the history
Add action button to remove GA from GDAP relations
  • Loading branch information
KelvinTegelaar authored May 13, 2024
2 parents 8537576 + 8bd0954 commit 4364993
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/views/tenant/administration/ListGDAPRelationships.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ const Actions = (row, rowIndex, formatExtraData) => {
modalUrl: `/api/ExecAutoExtendGDAP?ID=${row.id}`,
modalMessage: 'Are you sure you want to enable auto-extend for this relationship',
},
{
label: 'Remove Global Administrator from Relationship',
color: 'danger',
modal: true,
modalUrl: `/api/ExecGDAPRemoveGArole?&GDAPID=${row.id}`,
modalMessage:
'Are you sure you want to remove Global Administrator from this relationship?',
},
{
label: 'Terminate Relationship',
color: 'danger',
Expand Down Expand Up @@ -218,6 +226,13 @@ const GDAPRelationships = () => {
tableProps: {
selectableRows: true,
actionsList: [
{
label: 'Remove Global Administrator from Relationship',
modal: true,
modalUrl: `/api/ExecGDAPRemoveGArole?&GDAPID=!id`,
modalMessage:
'Are you sure you want to remove Global Administrator from these relationship(s)?',
},
{
label: 'Terminate Relationship',
modal: true,
Expand Down

0 comments on commit 4364993

Please sign in to comment.