Skip to content

[PM-38927] - Extract Organziation User Role Validation #21472

[PM-38927] - Extract Organziation User Role Validation

[PM-38927] - Extract Organziation User Role Validation #21472

Triggered via pull request June 26, 2026 16:13
@jrmccannonjrmccannon
opened #7876
Status Success
Total duration 5m 31s
Artifacts

scan.yml

on: pull_request_target
Check PR run  /  Check
5s
Check PR run / Check
Checkmarx  /  SAST scan
2s
Checkmarx / SAST scan
Sonar  /  Quality scan
5m 17s
Sonar / Quality scan
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Sonar / Quality scan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9, actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Sonar / Quality scan: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L8
The behavior of 'string.Format(string, params ReadOnlySpan<object>)' could vary based on the current user's locale settings. Replace this call in 'ProviderInitiateDeleteModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params ReadOnlySpan<object>)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: src/Core/Models/Mail/Provider/ProviderSetupInviteViewModel.cs#L11
The behavior of 'string.Format(string, params ReadOnlySpan<object>)' could vary based on the current user's locale settings. Replace this call in 'ProviderSetupInviteViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params ReadOnlySpan<object>)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: src/Core/Models/Mail/Provider/ProviderUserInvitedViewModel.cs#L14
The behavior of 'string.Format(string, params ReadOnlySpan<object>)' could vary based on the current user's locale settings. Replace this call in 'ProviderUserInvitedViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params ReadOnlySpan<object>)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: src/Core/Utilities/EncryptedStringLengthAttribute.cs#L13
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'EncryptedStringLengthAttribute.FormatErrorMessage(string)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: src/Core/Utilities/HostBuilderExtensions.cs#L14
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'IHostBuilder.ConfigureCustomAppConfiguration(string[])' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Sonar / Quality scan: src/Core/Utilities/JsonHelpers.cs#L127
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'MsEpochConverter.Write(Utf8JsonWriter, DateTime?, JsonSerializerOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: src/Core/Billing/Pricing/Organizations/Purchasable.cs#L79
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'FreeOrScalableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Sonar / Quality scan: src/Core/Billing/Pricing/Organizations/Purchasable.cs#L30
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'PurchasableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Sonar / Quality scan: util/Server/Startup.cs#L102
The behavior of 'DateTime.ToString()' could vary based on the current user's locale settings. Replace this call in 'Startup.Configure(IApplicationBuilder, IConfiguration, ILogger<Startup>)' with a call to 'DateTime.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Sonar / Quality scan: util/Server/Startup.cs#L43
The behavior of 'DateTime.ToString()' could vary based on the current user's locale settings. Replace this call in 'Startup.Configure(IApplicationBuilder, IConfiguration, ILogger<Startup>)' with a call to 'DateTime.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)