Dockerfile hatası Permission
This commit is contained in:
parent
8564bff367
commit
9c0f8d322b
3 changed files with 126 additions and 121 deletions
|
|
@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
|
|||
ENV DOTNET_NUGET_SIGNATURE_VERIFICATION=false
|
||||
WORKDIR /app
|
||||
RUN apk update && apk upgrade
|
||||
RUN apk add nodejs~=22 npm~=10
|
||||
RUN apk add nodejs~=22 npm~=11
|
||||
|
||||
RUN dotnet tool install -g Volo.Abp.Cli
|
||||
ENV PATH="/root/.dotnet/tools:${PATH}"
|
||||
|
|
|
|||
|
|
@ -744,13 +744,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Forms.FormBank,
|
||||
Name = AppCodes.Definitions.Bank,
|
||||
Title = AppCodes.Definitions.Bank,
|
||||
Name = AppCodes.Accounting.Bank,
|
||||
Title = AppCodes.Accounting.Bank,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.Bank,
|
||||
Description = AppCodes.Accounting.Bank,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("Bank"),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -759,12 +759,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
SortMode = GridOptions.SortModeSingle,
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
D = AppCodes.Definitions.Bank + ".Delete",
|
||||
E = AppCodes.Definitions.Bank + ".Export",
|
||||
I = AppCodes.Definitions.Bank + ".Import"
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
D = AppCodes.Accounting.Bank + ".Delete",
|
||||
E = AppCodes.Accounting.Bank + ".Export",
|
||||
I = AppCodes.Accounting.Bank + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("Bank", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||
|
|
@ -857,9 +857,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -895,9 +895,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -928,9 +928,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -962,9 +962,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -993,9 +993,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1024,9 +1024,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1063,9 +1063,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1105,9 +1105,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1147,9 +1147,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1178,9 +1178,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1209,9 +1209,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -1244,9 +1244,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -28910,13 +28910,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Bank,
|
||||
Name = AppCodes.Definitions.Bank,
|
||||
Title = AppCodes.Definitions.Bank,
|
||||
Name = AppCodes.Accounting.Bank,
|
||||
Title = AppCodes.Accounting.Bank,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = true,
|
||||
IsBranch = true,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.Bank,
|
||||
Description = AppCodes.Accounting.Bank,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("Bank", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -28955,12 +28955,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
D = AppCodes.Definitions.Bank + ".Delete",
|
||||
E = AppCodes.Definitions.Bank + ".Export",
|
||||
I = AppCodes.Definitions.Bank + ".Import",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
D = AppCodes.Accounting.Bank + ".Delete",
|
||||
E = AppCodes.Accounting.Bank + ".Export",
|
||||
I = AppCodes.Accounting.Bank + ".Import",
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("Bank", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||
|
|
@ -29040,7 +29040,7 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
Hint = "Manage",
|
||||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Definitions.Bank + ".Update",
|
||||
AuthName = AppCodes.Accounting.Bank + ".Update",
|
||||
Url=$"/admin/form/{ListFormCodes.Forms.FormBank}/@Id"
|
||||
},
|
||||
}),
|
||||
|
|
@ -29078,9 +29078,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29116,9 +29116,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29149,9 +29149,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29183,9 +29183,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29214,9 +29214,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29245,9 +29245,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29284,9 +29284,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29326,9 +29326,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29368,9 +29368,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29399,9 +29399,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29430,9 +29430,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29465,9 +29465,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Bank + ".Create",
|
||||
R = AppCodes.Definitions.Bank,
|
||||
U = AppCodes.Definitions.Bank + ".Update",
|
||||
C = AppCodes.Accounting.Bank + ".Create",
|
||||
R = AppCodes.Accounting.Bank,
|
||||
U = AppCodes.Accounting.Bank + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29501,13 +29501,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.BankAccount,
|
||||
Name = AppCodes.Definitions.BankAccount,
|
||||
Title = AppCodes.Definitions.BankAccount,
|
||||
Name = AppCodes.Accounting.BankAccount,
|
||||
Title = AppCodes.Accounting.BankAccount,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = true,
|
||||
IsBranch = true,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.BankAccount,
|
||||
Description = AppCodes.Accounting.BankAccount,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("BankAccount", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -29546,12 +29546,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
D = AppCodes.Definitions.BankAccount + ".Delete",
|
||||
E = AppCodes.Definitions.BankAccount + ".Export",
|
||||
I = AppCodes.Definitions.BankAccount + ".Import",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
D = AppCodes.Accounting.BankAccount + ".Delete",
|
||||
E = AppCodes.Accounting.BankAccount + ".Export",
|
||||
I = AppCodes.Accounting.BankAccount + ".Import",
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("BankAccount", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||
|
|
@ -29654,9 +29654,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29692,9 +29692,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29728,9 +29728,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29763,9 +29763,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29801,9 +29801,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -29832,9 +29832,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.BankAccount + ".Create",
|
||||
R = AppCodes.Definitions.BankAccount,
|
||||
U = AppCodes.Definitions.BankAccount + ".Update",
|
||||
C = AppCodes.Accounting.BankAccount + ".Create",
|
||||
R = AppCodes.Accounting.BankAccount,
|
||||
U = AppCodes.Accounting.BankAccount + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
|
|||
|
|
@ -407,8 +407,6 @@ public static class SeedConsts
|
|||
public const string Skill = Default + ".Skill";
|
||||
public const string UomCategory = Default + ".UomCategory";
|
||||
public const string Uom = Default + ".Uom";
|
||||
public const string Bank = Default + ".Bank";
|
||||
public const string BankAccount = Default + ".BankAccount";
|
||||
public const string Behavior = Default + ".Behavior";
|
||||
public const string Disease = Default + ".Disease";
|
||||
public const string Document = Default + ".Document";
|
||||
|
|
@ -439,6 +437,13 @@ public static class SeedConsts
|
|||
public const string Class = Default + ".Class";
|
||||
public const string Level = Default + ".Level";
|
||||
}
|
||||
|
||||
public static class Accounting
|
||||
{
|
||||
public const string Default = Prefix.App + ".Accounting";
|
||||
public const string Bank = Default + ".Bank";
|
||||
public const string BankAccount = Default + ".BankAccount";
|
||||
}
|
||||
}
|
||||
|
||||
public static class DataSources
|
||||
|
|
|
|||
Loading…
Reference in a new issue