1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-06 19:28:08 +01:00
bitwarden-server/src/Admin
Rui Tomé f2180aa7b7
[PM-10311] Account Management: Create helper methods for checking against verified domains (#4636)
* Add HasVerifiedDomainsAsync method to IOrganizationDomainService

* Add GetManagedUserIdsByOrganizationIdAsync method to IOrganizationUserRepository and the corresponding queries

* Fix case on the sproc OrganizationUser_ReadManagedIdsByOrganizationId parameter

* Update the EF query to use the Email from the User table

* dotnet format

* Fix IOrganizationDomainService.HasVerifiedDomainsAsync by checking that domains have been Verified and add unit tests

* Rename IOrganizationUserRepository.GetManagedUserIdsByOrganizationAsync

* Fix domain queries

* Add OrganizationUserRepository integration tests

* Add summary to IOrganizationDomainService.HasVerifiedDomainsAsync

* chore: Rename IOrganizationUserRepository.GetManagedUserIdsByOrganizationAsync to GetManyIdsManagedByOrganizationIdAsync

* Add IsManagedByAnyOrganizationAsync method to IUserRepository

* Add integration tests for UserRepository.IsManagedByAnyOrganizationAsync

* Refactor to IUserService.IsManagedByAnyOrganizationAsync and IOrganizationService.GetUsersOrganizationManagementStatusAsync

* chore: Refactor IsManagedByAnyOrganizationAsync method in UserService

* Refactor IOrganizationService.GetUsersOrganizationManagementStatusAsync to return IDictionary<Guid, bool>

* Extract IOrganizationService.GetUsersOrganizationManagementStatusAsync into a query

* Update comments in OrganizationDomainService to use proper capitalization

* Move OrganizationDomainService to AdminConsole ownership and update namespace

* feat: Add support for organization domains in enterprise plans

* feat: Add HasOrganizationDomains property to OrganizationAbility class

* refactor: Update GetOrganizationUsersManagementStatusQuery to use IApplicationCacheService

* Remove HasOrganizationDomains and use UseSso to check if Organization can have Verified Domains

* Refactor UserService.IsManagedByAnyOrganizationAsync to simply check the UseSso flag

* Add TODO comment for replacing 'UseSso' organization ability on user verified domain checks

* Bump date on migration script

* Add indexes to OrganizationDomain table

* Bump script migration date; Remove WITH ONLINE = ON from data migration.
2024-09-11 11:29:57 +01:00
..
AdminConsole PM-7999 | Reseller billing e-mail can be blank causing downstream errors for org creation (#4733) 2024-09-05 15:37:20 +01:00
Auth [PM-1198] Modify AuthRequest Purge Job (#3048) 2023-06-30 14:13:31 -04:00
Controllers [AC-1698] Check if a user has 2FA enabled more efficiently (#4524) 2024-08-08 15:43:45 +01:00
Enums [PM-6167] Remove cosmos logging sink (#3769) 2024-02-08 18:35:45 +00:00
HostedServices [PM-6141] Remove rate limiting ip blocker (#3754) 2024-02-07 12:23:26 -05:00
IdentityServer Add RBAC to Bitwarden Portal (#2853) 2023-05-04 15:18:49 -04:00
Jobs [PM-10311] Account Management: Create helper methods for checking against verified domains (#4636) 2024-09-11 11:29:57 +01:00
Models [AC-2567] Billing Performance Improvements (#4143) 2024-06-11 13:55:23 -04:00
Properties Project configuration tune-up (#2994) 2023-06-08 13:21:03 -04:00
Sass [PM-10261] Migrate from gulp to webpack (#4569) 2024-07-31 15:41:55 -04:00
Services Add RBAC to Bitwarden Portal (#2853) 2023-05-04 15:18:49 -04:00
TagHelpers Run formatting (#2230) 2022-08-29 16:06:55 -04:00
Tools/Jobs [PM-328] Move files for team-tools (#2857) 2023-04-18 14:05:17 +02:00
Utilities Added provider_edit to admins in bitwarden portal (#3764) 2024-03-08 16:44:36 -05:00
Views [AC-1698] Check if a user has 2FA enabled more efficiently (#4524) 2024-08-08 15:43:45 +01:00
wwwroot Update favicon to new standard (#910) 2020-09-03 17:03:13 -04:00
.dockerignore Update output directory for dotnet builds (#1358) 2021-05-27 12:16:12 -04:00
Admin.csproj [PM-6167] Remove cosmos logging sink (#3769) 2024-02-08 18:35:45 +00:00
AdminSettings.cs [PM-6141] Remove rate limiting ip blocker (#3754) 2024-02-07 12:23:26 -05:00
appsettings.Development.json [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
appsettings.json Remove DocumentDB settings placeholders (#3943) 2024-03-29 13:28:16 -04:00
appsettings.Production.json [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
appsettings.QA.json [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
appsettings.SelfHosted.json [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
build.ps1 Cleanup node scripts (#1858) 2022-03-03 23:53:09 +01:00
build.sh Cleanup node scripts (#1858) 2022-03-03 23:53:09 +01:00
bundleconfig.json setup new admin portal project 2018-03-21 12:57:43 -04:00
Dockerfile [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
entrypoint.sh update entry.sh file for bw apps (#2771) 2023-03-09 14:20:46 +00:00
package-lock.json [deps] Auth: Update sass-loader to v16.0.1 (#4717) 2024-09-09 10:20:25 -07:00
package.json [deps] Auth: Update sass-loader to v16.0.1 (#4717) 2024-09-09 10:20:25 -07:00
Program.cs Add logging to tokenables (#2298) 2022-09-26 14:22:02 -05:00
Startup.cs [AC-1910] Allocate seats to a provider organization (#3936) 2024-03-29 11:18:10 -04:00
webfonts.list webfonts and styling 2018-03-23 15:51:54 -04:00
webpack.config.js [PM-10261] Migrate from gulp to webpack (#4569) 2024-07-31 15:41:55 -04:00