Skip to content

Commit d16e402

Browse files
committed
Update ListGDAPRoles.js
Add delete role mapping action
1 parent 320e2b3 commit d16e402

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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)