Skip to content

Extend logic: user with many roles #98

Extend logic: user with many roles

Extend logic: user with many roles #98

Triggered via pull request November 22, 2024 09:56
@ArdenHideArdenHide
synchronize #93
issue_#84
Status Success
Total duration 2m 25s
Artifacts

sonarcloud.yml

on: pull_request
Build and analyze
2m 13s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/ResourceManagerTests.cs#L10
The type or namespace name 'ResourceManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/UserManagerTests.cs#L9
The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/ResourceManagerTests.cs#L10
The type or namespace name 'ResourceManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/UserManagerTests.cs#L9
The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/ResourceManagerTests.cs#L10
The type or namespace name 'ResourceManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze: tests/Acl.Net.Core.Managers.Tests/Managers/UserManagerTests.cs#L9
The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
Build and analyze
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/checkout@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L59
Reduce the number of generic parameters in the 'AclDbContext' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L126
Review this call, which partially matches an overload without 'params'. The partial match is 'Microsoft.EntityFrameworkCore.Metadata.Builders.DataBuilder<TRole> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TRole>.HasData(IEnumerable<TRole> data)'. (https://rules.sonarsource.com/csharp/RSPEC-3220)
Build and analyze: src/Acl.Net.Core.Managers/IAclManager.cs#L25
Reduce the number of generic parameters in the 'IAclManager' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Managers/AclManager.cs#L67
Reduce the number of generic parameters in the 'AclManager' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L59
Reduce the number of generic parameters in the 'AclDbContext' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L126
Review this call, which partially matches an overload without 'params'. The partial match is 'Microsoft.EntityFrameworkCore.Metadata.Builders.DataBuilder<TRole> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TRole>.HasData(IEnumerable<TRole> data)'. (https://rules.sonarsource.com/csharp/RSPEC-3220)
Build and analyze: src/Acl.Net.Core.Managers/AclManager.cs#L67
Reduce the number of generic parameters in the 'AclManager' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Managers/IAclManager.cs#L25
Reduce the number of generic parameters in the 'IAclManager' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L59
Reduce the number of generic parameters in the 'AclDbContext' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and analyze: src/Acl.Net.Core.Database/AclDbContext.cs#L126
Review this call, which partially matches an overload without 'params'. The partial match is 'Microsoft.EntityFrameworkCore.Metadata.Builders.DataBuilder<TRole> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TRole>.HasData(IEnumerable<TRole> data)'. (https://rules.sonarsource.com/csharp/RSPEC-3220)