Skip to content

Commit 6aee2db

Browse files
Merge pull request KelvinTegelaar#1677 from johnduprey/dev
Add Delete GDAP Role Mapping
2 parents ec3feab + b9a0e95 commit 6aee2db

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/views/cipp/CIPPSettings.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,12 +1244,14 @@ const LicenseSettings = () => {
12441244
{
12451245
name: 'Display Name',
12461246
selector: (row) => row['Product_Display_Name'],
1247+
exportSelector: 'Product_Display_Name',
12471248
sortable: true,
12481249
minWidth: '300px',
12491250
},
12501251
{
12511252
name: 'License ID',
12521253
selector: (row) => row['GUID'],
1254+
exportSelector: 'GUID',
12531255
sortable: true,
12541256
minWidth: '350px',
12551257
},

src/views/tenant/administration/ListGDAPRoles.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,19 @@ const ListGDAPRoles = () => {
3333
columns,
3434
reportName: `GDAPRole-List`,
3535
path: '/api/ListGDAPRoles',
36+
tableProps: {
37+
selectableRows: true,
38+
actionsList: [
39+
{
40+
label: 'Delete Mapping',
41+
modal: true,
42+
modalUrl: `/api/ExecDeleteGDAPRoleMapping?&GroupId=!GroupId`,
43+
modalMessage:
44+
'Are you sure you want to delete this role mapping? (Note: This does not delete the associated security groups or modify any GDAP relationships.)',
45+
},
46+
],
47+
keyField: 'GroupId',
48+
},
3649
}}
3750
/>
3851
</div>

0 commit comments

Comments
 (0)