Skip to content

Commit

Permalink
Merge pull request #1416 from BNWEIN/dev
Browse files Browse the repository at this point in the history
Added ability to delete a group
  • Loading branch information
KelvinTegelaar authored Mar 14, 2023
2 parents a21392d + f909dc8 commit b6db742
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/views/identity/administration/Groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
modalMessage:
'Are you sure you want to allow messages from people inside and outside the organisation? Remember this will not work if the group is AD Synched.',
},
{
label: 'Delete Group',
color: 'warning',
modal: true,
modalUrl: `/api/ExecGroupsDelete?TenantFilter=${tenant.defaultDomainName}&ID=${row.id}&GroupType=${row.calculatedGroupType}&DisplayName=${row.displayName}`,
modalMessage: 'Are you sure you want to delete this group.',
},
]}
placement="end"
visible={ocVisible}
Expand Down

0 comments on commit b6db742

Please sign in to comment.