Skip to content

Commit 98bcb7c

Browse files
committed
Add doc comments.
1 parent ed04571 commit 98bcb7c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/Teams/beta/custom/RscConfigurationSynthesizer.cs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ internal RscConfigurationSynthesizer()
3535
/// <summary>
3636
/// Convert the given settings and policy to Chat RSC configuration.
3737
/// </summary>
38+
/// <param name="permissionGrantPolicyCollection">The permission grant policy collection.</param>
3839
/// <param name="teamsAppSettings">Teams app settings.</param>
3940
/// <param name="authorizationPolicy">Authorization policy.</param>
41+
/// <param name="eventListener">The event listener.</param>
4042
/// <returns>The chat RSC configuration.</returns>
4143
internal MicrosoftGraphRscConfiguration ConvertToChatRscConfiguration(
4244
MGTeamsInternalPermissionGrantPolicyCollection permissionGrantPolicyCollection,
@@ -121,6 +123,7 @@ internal MicrosoftGraphRscConfiguration ConvertToChatRscConfiguration(
121123
/// <summary>
122124
/// Convert the given tenant settings to Team RSC configuration.
123125
/// </summary>
126+
/// <param name="permissionGrantPolicyCollection">Permission grant policy collection.</param>
124127
/// <param name="tenantConsentSettingCollection">Tenant consent setting collection.</param>
125128
/// <param name="authorizationPolicy">Authorization policy.</param>
126129
/// <returns>Rsc configuration.</returns>
@@ -214,6 +217,13 @@ internal IMicrosoftGraphRscConfiguration ConvertToTeamRscConfiguration(
214217
return microsoftGraphRscConfiguration;
215218
}
216219

220+
/// <summary>
221+
/// Get permission grant policies assigned to default user role (all users and apps) which are relevant to the given scope.
222+
/// </summary>
223+
/// <param name="permissionGrantPolicyCollection">The permission grant policy collection.</param>
224+
/// <param name="authorizationPolicy">The authorization policy.</param>
225+
/// <param name="rscConfigurationScopeType">The rsc config scope type.</param>
226+
/// <returns>List of policies.</returns>
217227
internal IEnumerable<MGTeamsInternalPermissionGrantPolicy> GetAssignedPermissionGrantPoliciesApplicableToGivenScopeType(
218228
MGTeamsInternalPermissionGrantPolicyCollection permissionGrantPolicyCollection,
219229
MGTeamsInternalAuthorizationPolicy authorizationPolicy,
@@ -253,12 +263,14 @@ internal IEnumerable<MGTeamsInternalPermissionGrantPolicy> GetAssignedPermission
253263
}
254264

255265
/// <summary>
256-
/// Get the projected value of IsGroupConsentEnabled.
266+
/// Get the projected value of group consent settings. i.e.
267+
/// 1. Whether group consent is enabled. This is derived from group consent and user consent settings.
268+
/// 2. Specific groups that group consent is restricted to.
257269
/// </summary>
258270
/// <param name="tenantConsentSettingCollection">Tenant consent setting collection.</param>
259271
/// <param name="authorizationPolicy">The authorization policy.</param>
260272
/// <param name="eventListener">The event listener.</param>
261-
/// <returns>Project value of IsGroupConsentEnabled.</returns>
273+
/// <returns>Projected value of group consent settings.</returns>
262274
private (string isGroupConsentSettingEnabled, string groupConsentConstrainedToGroupId) GetProjectedGroupConsentSettings(
263275
MGTeamsInternalTenantConsentSettingsCollection tenantConsentSettingCollection,
264276
MGTeamsInternalAuthorizationPolicy authorizationPolicy,

0 commit comments

Comments
 (0)