forked from ddrilling/AsbCloudServer
Fix PlannedTrajectory permissions
This commit is contained in:
parent
d8b131622f
commit
bce61f97da
6963
AsbCloudDb/Migrations/20230124100243_Fix_PlannedTrajectory_permissions.Designer.cs
generated
Normal file
6963
AsbCloudDb/Migrations/20230124100243_Fix_PlannedTrajectory_permissions.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,57 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class Fix_PlannedTrajectory_permissions : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 510,
|
||||
column: "name",
|
||||
value: "PlannedTrajectory.get");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 511,
|
||||
column: "name",
|
||||
value: "PlannedTrajectory.edit");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 512,
|
||||
column: "name",
|
||||
value: "PlannedTrajectory.delete");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 510,
|
||||
column: "name",
|
||||
value: "TelemetryWirelineRunOut.get");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 511,
|
||||
column: "name",
|
||||
value: "TelemetryWirelineRunOut.edit");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 512,
|
||||
column: "name",
|
||||
value: "TelemetryWirelineRunOut.delete");
|
||||
}
|
||||
}
|
||||
}
|
@ -1770,19 +1770,19 @@ namespace AsbCloudDb.Migrations
|
||||
{
|
||||
Id = 510,
|
||||
Description = "Разрешение просматривать плановая траектория",
|
||||
Name = "TelemetryWirelineRunOut.get"
|
||||
Name = "PlannedTrajectory.get"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 511,
|
||||
Description = "Разрешение редактировать плановая траектория",
|
||||
Name = "TelemetryWirelineRunOut.edit"
|
||||
Name = "PlannedTrajectory.edit"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 512,
|
||||
Description = "Разрешение удалять плановая траектория",
|
||||
Name = "TelemetryWirelineRunOut.delete"
|
||||
Name = "PlannedTrajectory.delete"
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -138,9 +138,9 @@
|
||||
|
||||
new (){ Id = 507, Name="TelemetryWirelineRunOut.get", Description="Разрешение просматривать наработка талевого каната"},
|
||||
|
||||
new (){ Id = 510, Name="TelemetryWirelineRunOut.get", Description="Разрешение просматривать плановая траектория"},
|
||||
new (){ Id = 511, Name="TelemetryWirelineRunOut.edit", Description="Разрешение редактировать плановая траектория"},
|
||||
new (){ Id = 512, Name="TelemetryWirelineRunOut.delete", Description="Разрешение удалять плановая траектория"},
|
||||
new (){ Id = 510, Name="PlannedTrajectory.get", Description="Разрешение просматривать плановая траектория"},
|
||||
new (){ Id = 511, Name="PlannedTrajectory.edit", Description="Разрешение редактировать плановая траектория"},
|
||||
new (){ Id = 512, Name="PlannedTrajectory.delete", Description="Разрешение удалять плановая траектория"},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user