mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
[AC-10362] Remove OrganizationUser.AccessAll from code (#4622)
* Remove OrganizationUser.AccessAll from code * Add shadow property * Remove remaining reference * dotnet format * Fix tests * Bump migration dates
This commit is contained in:
@@ -1228,7 +1228,9 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<bool>("AccessAll")
|
||||
.HasColumnType("tinyint(1)");
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasDefaultValue(false);
|
||||
|
||||
b.Property<bool>("AccessSecretsManager")
|
||||
.HasColumnType("tinyint(1)");
|
||||
@@ -1276,10 +1278,6 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
b.HasIndex("UserId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId", "OrganizationId", "Status")
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "AccessAll" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("OrganizationUser", (string)null);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user