File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
src/views/teams-share/sharepoint Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,46 @@ const SharepointList = () => {
28
28
} ,
29
29
] }
30
30
actions = { [
31
+ {
32
+ label : 'Add member' ,
33
+ color : 'info' ,
34
+ modal : true ,
35
+ modalType : 'POST' ,
36
+ modalBody : {
37
+ groupId : row . UPN ,
38
+ TenantFilter : tenant . defaultDomainName ,
39
+ add : true ,
40
+ URL : row . URL ,
41
+ SharePointType : row . Template ,
42
+ } ,
43
+ modalUrl : `/api/ExecSetSharePointMember` ,
44
+ modalDropdown : {
45
+ url : `/api/listUsers?TenantFilter=${ tenant . defaultDomainName } ` ,
46
+ labelField : 'displayName' ,
47
+ valueField : 'userPrincipalName' ,
48
+ } ,
49
+ modalMessage : 'Select the User to add as a member.' ,
50
+ } ,
51
+ {
52
+ label : 'Remove member' ,
53
+ color : 'info' ,
54
+ modal : true ,
55
+ modalType : 'POST' ,
56
+ modalBody : {
57
+ groupId : row . UPN ,
58
+ TenantFilter : tenant . defaultDomainName ,
59
+ add : false ,
60
+ URL : row . URL ,
61
+ SharePointType : row . Template ,
62
+ } ,
63
+ modalUrl : `/api/ExecSetSharePointMember` ,
64
+ modalDropdown : {
65
+ url : `/api/listUsers?TenantFilter=${ tenant . defaultDomainName } ` ,
66
+ labelField : 'displayName' ,
67
+ valueField : 'userPrincipalName' ,
68
+ } ,
69
+ modalMessage : 'Select the User to remove as a member.' ,
70
+ } ,
31
71
{
32
72
label : 'Add Site Admin' ,
33
73
color : 'info' ,
You can’t perform that action at this time.
0 commit comments