Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#1677 from johnduprey/dev
Browse files Browse the repository at this point in the history
Add Delete GDAP Role Mapping
  • Loading branch information
KelvinTegelaar committed Aug 10, 2023
2 parents ec3feab + b9a0e95 commit 6aee2db
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/cipp/CIPPSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,12 +1244,14 @@ const LicenseSettings = () => {
{
name: 'Display Name',
selector: (row) => row['Product_Display_Name'],
exportSelector: 'Product_Display_Name',
sortable: true,
minWidth: '300px',
},
{
name: 'License ID',
selector: (row) => row['GUID'],
exportSelector: 'GUID',
sortable: true,
minWidth: '350px',
},
Expand Down
13 changes: 13 additions & 0 deletions src/views/tenant/administration/ListGDAPRoles.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ const ListGDAPRoles = () => {
columns,
reportName: `GDAPRole-List`,
path: '/api/ListGDAPRoles',
tableProps: {
selectableRows: true,
actionsList: [
{
label: 'Delete Mapping',
modal: true,
modalUrl: `/api/ExecDeleteGDAPRoleMapping?&GroupId=!GroupId`,
modalMessage:
'Are you sure you want to delete this role mapping? (Note: This does not delete the associated security groups or modify any GDAP relationships.)',
},
],
keyField: 'GroupId',
},
}}
/>
</div>
Expand Down

0 comments on commit 6aee2db

Please sign in to comment.