Skip to content

[AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions #3031

[AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions

[AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions #3031

Triggered via pull request August 28, 2024 00:23
@eliykateliykat
synchronize #4604
Status Success
Total duration 4m 10s
Artifacts

scan.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNonJsonValues(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepositor...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- MySqlConnector.MySqlException : Field 'AccessAll' doesn't have a default value
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNonJsonValues(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepositor...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23502: null value in column "AccessAll" of relation "OrganizationUser" violates not-null constraint DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNonJsonValues(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepositor...: test/Infrastructure.IntegrationTest/Services/Implementations/EfMigrationTesterService.cs#L40
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: System.NotSupportedException : SQLite does not support this migration operation ('AlterColumnOperation'). See https://go.microsoft.com/fwlink/?LinkId=723262 for more information and examples.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNull(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: Organi...: test/Infrastructure.IntegrationTest/Services/Implementations/EfMigrationTesterService.cs#L40
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: System.NotSupportedException : SQLite does not support this migration operation ('AlterColumnOperation'). See https://go.microsoft.com/fwlink/?LinkId=723262 for more information and examples.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNull(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: Organi...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- MySqlConnector.MySqlException : Field 'AccessAll' doesn't have a default value
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNull(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: Organi...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23502: null value in column "AccessAll" of relation "OrganizationUser" violates not-null constraint DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNullString(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: ...: test/Infrastructure.IntegrationTest/Services/Implementations/EfMigrationTesterService.cs#L40
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: System.NotSupportedException : SQLite does not support this migration operation ('AlterColumnOperation'). See https://go.microsoft.com/fwlink/?LinkId=723262 for more information and examples.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNullString(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: ...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23502: null value in column "AccessAll" of relation "OrganizationUser" violates not-null constraint DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_HandlesNullString(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: ...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- MySqlConnector.MySqlException : Field 'AccessAll' doesn't have a default value
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_WithAdminUserType_RemovesAssignedCollectionsPermissions(userRepository: UserRepository { }, organizationRepository: OrganizationReposi...: test/Infrastructure.IntegrationTest/Services/Implementations/EfMigrationTesterService.cs#L40
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: System.NotSupportedException : SQLite does not support this migration operation ('AlterColumnOperation'). See https://go.microsoft.com/fwlink/?LinkId=723262 for more information and examples.
Bit.Infrastructure.IntegrationTest.AdminConsole.Migrations.FinalFlexibleCollectionsDataMigrationsTests ► RunMigration_WithAdminUserType_RemovesAssignedCollectionsPermissions(userRepository: UserRepository { }, organizationRepository: OrganizationReposi...: src/Infrastructure.EntityFramework/Repositories/Repository.cs#L43
Failed test found in: test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- MySqlConnector.MySqlException : Field 'AccessAll' doesn't have a default value
Quality scan: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L11
'ProviderInitiateDeleteModel.WebVaultUrl' hides inherited member 'BaseMailModel.WebVaultUrl'. Use the new keyword if hiding was intended.
Quality scan: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L14
'ProviderInitiateDeleteModel.SiteName' hides inherited member 'BaseMailModel.SiteName'. Use the new keyword if hiding was intended.
Quality scan: src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/UpdateOrganizationUserCommand.cs#L118
Possible null reference argument for parameter 'collections' in 'Task IOrganizationUserRepository.ReplaceAsync(OrganizationUser obj, IEnumerable<CollectionAccessSelection> collections)'.
Quality scan: bitwarden_license/src/Scim/Controllers/v2/UsersController.cs#L79
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Quality scan: bitwarden_license/src/Scim/Controllers/v2/GroupsController.cs#L50
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Quality scan: bitwarden_license/src/Scim/Controllers/v2/UsersController.cs#L50
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Quality scan: bitwarden_license/src/Scim/Controllers/v2/UsersController.cs#L61
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Quality scan: bitwarden_license/src/Scim/Controllers/v2/UsersController.cs#L121
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Quality scan: bitwarden_license/src/Scim/Controllers/v2/UsersController.cs#L114
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)