Skip to content

Commit

Permalink
adding a resource for teamsMeetPolicy (#2857)
Browse files Browse the repository at this point in the history
Signed-off-by: Hossein Rouhani <[email protected]>
  • Loading branch information
HRouhani authored Dec 17, 2023
1 parent b2dc839 commit e8dce38
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/ms365/connection/teams_report.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ type CsTeamsMeetingPolicy struct {
MeetingChatEnabledType string `json:"MeetingChatEnabledType"`
DesignatedPresenterRoleMode string `json:"DesignatedPresenterRoleMode"`
AllowExternalParticipantGiveRequestControl bool `json:"AllowExternalParticipantGiveRequestControl"`
}
AllowSecurityEndUserReporting bool `json:"AllowSecurityEndUserReporting"`
}
1 change: 1 addition & 0 deletions providers/ms365/resources/ms365.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func initMs365Teams(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[
"meetingChatEnabledType": llx.StringData(teamsPolicy.MeetingChatEnabledType),
"designatedPresenterRoleMode": llx.StringData(teamsPolicy.DesignatedPresenterRoleMode),
"allowExternalParticipantGiveRequestControl": llx.BoolData(teamsPolicy.AllowExternalParticipantGiveRequestControl),
"allowSecurityEndUserReporting": llx.BoolData(teamsPolicy.AllowSecurityEndUserReporting),
})
if err != nil {
return args, nil, err
Expand Down
2 changes: 2 additions & 0 deletions providers/ms365/resources/ms365.lr
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,6 @@ private ms365.teams.teamsMeetingPolicyConfig {
designatedPresenterRoleMode string
// Whether external participants can give or request control of the meeting
allowExternalParticipantGiveRequestControl bool
// Whether users can report security concerns
allowSecurityEndUserReporting bool
}
12 changes: 12 additions & 0 deletions providers/ms365/resources/ms365.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions providers/ms365/resources/ms365.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ resources:
allowAnonymousUsersToStartMeeting: {}
allowExternalParticipantGiveRequestControl: {}
allowPSTNUsersToBypassLobby: {}
allowSecurityEndUserReporting: {}
autoAdmittedUsers: {}
designatedPresenterRoleMode: {}
meetingChatEnabledType: {}
Expand Down

0 comments on commit e8dce38

Please sign in to comment.