Skip to content

feat: add migration for new permissions

2d0bddf
Select commit
Loading
Failed to load commit list.
Merged

feat: add CanViewAllProjects and CanViewAllTimeTrackerEntries perms #79

feat: add migration for new permissions
2d0bddf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 25, 2026 in 22s

Quality Gate failed

Failed conditions
40.8% Duplication on New Code (required ≤ 3%)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ViewRoles' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whk&open=AZ0kTEqOF52WU-U22whk&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'IsBooksHardDeleteAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whv&open=AZ0kTEqOF52WU-U22whv&pullRequest=79

Check warning on line 16 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'Permissions' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whc&open=AZ0kTEqOF52WU-U22whc&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'AccessAnalyticalForecastsPage' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whh&open=AZ0kTEqOF52WU-U22whh&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'IsAccountsHardDeleteAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whr&open=AZ0kTEqOF52WU-U22whr&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'AUTO_TESTS_ONLY_IsSetUserPasswordBypassingEmailConfirmationAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whw&open=AZ0kTEqOF52WU-U22whw&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ViewSalaryAndDocumentsData' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whf&open=AZ0kTEqOF52WU-U22whf&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManagePersonalTimeTracker' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wh4&open=AZ0kTEqOF52WU-U22wh4&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ViewAccounts' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whi&open=AZ0kTEqOF52WU-U22whi&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanViewInvoices' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wh5&open=AZ0kTEqOF52WU-U22wh5&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManageDocuments' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22who&open=AZ0kTEqOF52WU-U22who&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ViewPersonalProfile' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whd&open=AZ0kTEqOF52WU-U22whd&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManageTenants' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whp&open=AZ0kTEqOF52WU-U22whp&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'IsTenantsHardDeleteAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whq&open=AZ0kTEqOF52WU-U22whq&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManageItems' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wh1&open=AZ0kTEqOF52WU-U22wh1&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'AUTO_TESTS_ONLY_IsEntriesHardDeleteAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wh3&open=AZ0kTEqOF52WU-U22wh3&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ViewContacts' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whe&open=AZ0kTEqOF52WU-U22whe&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'IsCompensationsHardDeleteAllowed' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whs&open=AZ0kTEqOF52WU-U22whs&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManageItemsTypes' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22why&open=AZ0kTEqOF52WU-U22why&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanViewItemsTypes' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whz&open=AZ0kTEqOF52WU-U22whz&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanViewItems' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wh2&open=AZ0kTEqOF52WU-U22wh2&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanRequestCompensations' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whm&open=AZ0kTEqOF52WU-U22whm&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ManageAccounts' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whj&open=AZ0kTEqOF52WU-U22whj&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanViewBooks' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22wht&open=AZ0kTEqOF52WU-U22wht&pullRequest=79

Check warning on line 17 in DataAccess/Migrations/20260325091144_AddProjectsAndAllTimeEntriesPermissions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'CanManageBooks' 4 times.

See more on https://sonarcloud.io/project/issues?id=TourmalineCore_InnerCircle.AccountsApi&issues=AZ0kTEqOF52WU-U22whu&open=AZ0kTEqOF52WU-U22whu&pullRequest=79