Host Tenant Yetki Seeder
This commit is contained in:
parent
60bf112fd7
commit
4cba98e7a8
9 changed files with 212 additions and 123 deletions
|
|
@ -546,8 +546,8 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
||||||
DisplayExpr = "name",
|
DisplayExpr = "name",
|
||||||
ValueExpr = "key",
|
ValueExpr = "key",
|
||||||
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
|
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
|
||||||
new () { Key=1,Name="Host" },
|
new () { Key=1,Name="Tenant" },
|
||||||
new () { Key=2,Name="Tenant" },
|
new () { Key=2,Name="Host" },
|
||||||
new () { Key=3,Name="Both" },
|
new () { Key=3,Name="Both" },
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
TenantManagementPermissions.GroupName,
|
TenantManagementPermissions.GroupName,
|
||||||
perm,
|
perm,
|
||||||
CUDE.Contains(name) ? name : perm,
|
CUDE.Contains(name) ? name : perm,
|
||||||
parent == TenantManagementPermissions.GroupName ? null : parent));
|
parent == TenantManagementPermissions.GroupName ? null : parent,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,7 +84,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
TenantManagementPermissions.GroupName,
|
TenantManagementPermissions.GroupName,
|
||||||
TenantManagementPermissions.Tenants.Default + ".Export",
|
TenantManagementPermissions.Tenants.Default + ".Export",
|
||||||
CUDE[3],
|
CUDE[3],
|
||||||
TenantManagementPermissions.Tenants.Default));
|
TenantManagementPermissions.Tenants.Default,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
@ -142,7 +148,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
IdentityPermissions.GroupName,
|
IdentityPermissions.GroupName,
|
||||||
AbpIdentity.PermissionGroups.Default,
|
AbpIdentity.PermissionGroups.Default,
|
||||||
AbpIdentity.PermissionGroups.Default
|
AbpIdentity.PermissionGroups.Default,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -159,7 +168,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IdentityPermissions.GroupName,
|
IdentityPermissions.GroupName,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permPermissionGroupManagement.Name
|
permPermissionGroupManagement.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -171,7 +182,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
IdentityPermissions.GroupName,
|
IdentityPermissions.GroupName,
|
||||||
AbpIdentity.Permissions.Default,
|
AbpIdentity.Permissions.Default,
|
||||||
AbpIdentity.Permissions.Default
|
AbpIdentity.Permissions.Default,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -188,7 +202,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IdentityPermissions.GroupName,
|
IdentityPermissions.GroupName,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permPermissionManagement.Name
|
permPermissionManagement.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -201,7 +217,7 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IdentityPermissions.GroupName,
|
IdentityPermissions.GroupName,
|
||||||
AbpIdentity.OrganizationUnits.Default,
|
AbpIdentity.OrganizationUnits.Default,
|
||||||
AbpIdentity.OrganizationUnits.Default
|
AbpIdentity.OrganizationUnits.Default
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -264,13 +280,13 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
var permSiteManagement = await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.GroupName, AbpSettings.SiteManagement.GroupName));
|
var permSiteManagement = await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.GroupName, AbpSettings.SiteManagement.GroupName));
|
||||||
|
|
||||||
//General
|
//General
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.General.Default, AbpSettings.SiteManagement.General.Default, permSiteManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.General.Default, AbpSettings.SiteManagement.General.Default, permSiteManagement.Name, true, MultiTenancySides.Host));
|
||||||
|
|
||||||
//Theme
|
//Theme
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.Theme.Default, AbpSettings.SiteManagement.Theme.Default, permSiteManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.SiteManagement.Theme.Default, AbpSettings.SiteManagement.Theme.Default, permSiteManagement.Name));
|
||||||
|
|
||||||
//Localization
|
//Localization
|
||||||
var permLocalization = await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.AbpLocalization.GroupName, AbpSettings.AbpLocalization.GroupName, permSiteManagement.Name));
|
var permLocalization = await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.AbpLocalization.GroupName, AbpSettings.AbpLocalization.GroupName, permSiteManagement.Name, true, MultiTenancySides.Host));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Sender
|
#region Sender
|
||||||
|
|
@ -283,7 +299,7 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.Sms.PostaGuvercini.Default, AbpSettings.Sender.Sms.PostaGuvercini.Default, permSms.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.Sms.PostaGuvercini.Default, AbpSettings.Sender.Sms.PostaGuvercini.Default, permSms.Name));
|
||||||
|
|
||||||
//Rocket
|
//Rocket
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.Rocket.Default, AbpSettings.Sender.Rocket.Default, permSender.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.Rocket.Default, AbpSettings.Sender.Rocket.Default, permSender.Name, true, MultiTenancySides.Host));
|
||||||
|
|
||||||
//WhatsApp
|
//WhatsApp
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.WhatsApp.Default, AbpSettings.Sender.WhatsApp.Default, permSender.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Sender.WhatsApp.Default, AbpSettings.Sender.WhatsApp.Default, permSender.Name));
|
||||||
|
|
@ -299,20 +315,20 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Mailing.Smtp.GroupName, AbpSettings.Mailing.Smtp.GroupName, permMailing.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Mailing.Smtp.GroupName, AbpSettings.Mailing.Smtp.GroupName, permMailing.Name));
|
||||||
|
|
||||||
//Aws
|
//Aws
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Mailing.AWS.GroupName, AbpSettings.Mailing.AWS.GroupName, permMailing.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpSettings.Mailing.AWS.GroupName, AbpSettings.Mailing.AWS.GroupName, permMailing.Name, true, MultiTenancySides.Host));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Account_Management
|
#region Account_Management
|
||||||
var permAccountManagement = await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.GroupName, AbpAccount.GroupName));
|
var permAccountManagement = await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.GroupName, AbpAccount.GroupName));
|
||||||
|
|
||||||
//General
|
//General
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.General, AbpAccount.General, permAccountManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.General, AbpAccount.General, permAccountManagement.Name, true, MultiTenancySides.Host));
|
||||||
|
|
||||||
//Two Factor
|
//Two Factor
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.TwoFactor, AbpAccount.TwoFactor, permAccountManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.TwoFactor, AbpAccount.TwoFactor, permAccountManagement.Name));
|
||||||
|
|
||||||
//Captcha
|
//Captcha
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.Captcha.Default, AbpAccount.Captcha.Default, permAccountManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpAccount.Captcha.Default, AbpAccount.Captcha.Default, permAccountManagement.Name, true, MultiTenancySides.Host));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Identity_Management
|
#region Identity_Management
|
||||||
|
|
@ -328,10 +344,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.Lockout.Default, AbpIdentity.Lockout.Default, permIdentityManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.Lockout.Default, AbpIdentity.Lockout.Default, permIdentityManagement.Name));
|
||||||
|
|
||||||
//SignIn
|
//SignIn
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.SignIn.Default, AbpIdentity.SignIn.Default, permIdentityManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.SignIn.Default, AbpIdentity.SignIn.Default, permIdentityManagement.Name, true, MultiTenancySides.Host));
|
||||||
|
|
||||||
//User
|
//User
|
||||||
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.User.Default, AbpIdentity.User.Default, permIdentityManagement.Name));
|
await repository.InsertAsync(GetNewPermission(groupName, AbpIdentity.User.Default, AbpIdentity.User.Default, permIdentityManagement.Name, true, MultiTenancySides.Host));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -347,7 +363,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Languages.Default,
|
AppCodes.Languages.Default,
|
||||||
AppCodes.Languages.Language,
|
AppCodes.Languages.Language,
|
||||||
AppCodes.Languages.Language
|
AppCodes.Languages.Language,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -359,7 +378,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Languages.Default,
|
AppCodes.Languages.Default,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permLanguages.Name
|
permLanguages.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -367,7 +388,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Languages.Default,
|
AppCodes.Languages.Default,
|
||||||
AppCodes.Languages.LanguageText,
|
AppCodes.Languages.LanguageText,
|
||||||
AppCodes.Languages.LanguageText
|
AppCodes.Languages.LanguageText,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -379,7 +403,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Languages.Default,
|
AppCodes.Languages.Default,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permLanguageTexts.Name
|
permLanguageTexts.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -395,7 +421,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Menus,
|
AppCodes.Menus,
|
||||||
AppCodes.Menus,
|
AppCodes.Menus,
|
||||||
AppCodes.Menus
|
AppCodes.Menus,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -407,7 +436,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Menus,
|
AppCodes.Menus,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permMenuManagement.Name
|
permMenuManagement.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -423,14 +454,20 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
AppCodes.Listforms.Wizard,
|
AppCodes.Listforms.Wizard,
|
||||||
AppCodes.Listforms.Wizard
|
AppCodes.Listforms.Wizard,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
var permDataSources = await repository.InsertAsync(
|
var permDataSources = await repository.InsertAsync(
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
AppCodes.Listforms.DataSource,
|
AppCodes.Listforms.DataSource,
|
||||||
AppCodes.Listforms.DataSource
|
AppCodes.Listforms.DataSource,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -442,7 +479,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Listforms.DataSource,
|
AppCodes.Listforms.DataSource,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permDataSources.Name
|
permDataSources.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -450,7 +489,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
AppCodes.Listforms.Listform,
|
AppCodes.Listforms.Listform,
|
||||||
AppCodes.Listforms.Listform
|
AppCodes.Listforms.Listform,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -462,7 +504,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permListforms.Name
|
permListforms.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -470,7 +514,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
AppCodes.Listforms.ListformField,
|
AppCodes.Listforms.ListformField,
|
||||||
AppCodes.Listforms.ListformField
|
AppCodes.Listforms.ListformField,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -482,7 +529,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permListformFields.Name
|
permListformFields.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -490,7 +539,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
AppCodes.Listforms.Chart,
|
AppCodes.Listforms.Chart,
|
||||||
AppCodes.Listforms.Chart
|
AppCodes.Listforms.Chart,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -502,7 +554,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Listforms.Default,
|
AppCodes.Listforms.Default,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
chartManagement.Name
|
chartManagement.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -519,7 +573,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Settings.SettingDefinitions,
|
AppCodes.Settings.SettingDefinitions,
|
||||||
AppCodes.Settings.SettingDefinitions,
|
AppCodes.Settings.SettingDefinitions,
|
||||||
AppCodes.Settings.SettingDefinitions
|
AppCodes.Settings.SettingDefinitions,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -531,7 +588,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Settings.SettingDefinitions,
|
AppCodes.Settings.SettingDefinitions,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permSettingManagement.Name
|
permSettingManagement.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -547,7 +606,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.BackgroundWorkers,
|
AppCodes.BackgroundWorkers,
|
||||||
AppCodes.BackgroundWorkers,
|
AppCodes.BackgroundWorkers,
|
||||||
AppCodes.BackgroundWorkers
|
AppCodes.BackgroundWorkers,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -559,7 +621,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.BackgroundWorkers,
|
AppCodes.BackgroundWorkers,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permBackgroundWorkers.Name
|
permBackgroundWorkers.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -575,7 +639,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Notifications.Default,
|
AppCodes.Notifications.Default,
|
||||||
AppCodes.Notifications.NotificationRules,
|
AppCodes.Notifications.NotificationRules,
|
||||||
AppCodes.Notifications.NotificationRules
|
AppCodes.Notifications.NotificationRules,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -587,7 +654,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Notifications.NotificationRules,
|
AppCodes.Notifications.NotificationRules,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permNotificationRules.Name
|
permNotificationRules.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -595,7 +664,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Notifications.Default,
|
AppCodes.Notifications.Default,
|
||||||
AppCodes.Notifications.Notification,
|
AppCodes.Notifications.Notification,
|
||||||
AppCodes.Notifications.Notification
|
AppCodes.Notifications.Notification,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -607,7 +679,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Notifications.Notification,
|
AppCodes.Notifications.Notification,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permNotification.Name
|
permNotification.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -623,7 +697,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.PublicApis,
|
AppCodes.PublicApis,
|
||||||
AppCodes.PublicApis,
|
AppCodes.PublicApis,
|
||||||
AppCodes.PublicApis
|
AppCodes.PublicApis,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -635,7 +712,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.PublicApis,
|
AppCodes.PublicApis,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permPublicApis.Name
|
permPublicApis.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -645,7 +724,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.PublicApis,
|
AppCodes.PublicApis,
|
||||||
AppCodes.PublicApis + ".Get",
|
AppCodes.PublicApis + ".Get",
|
||||||
"Get",
|
"Get",
|
||||||
permPublicApis.Name
|
permPublicApis.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
//Post Api Permissions
|
//Post Api Permissions
|
||||||
|
|
@ -654,7 +735,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.PublicApis,
|
AppCodes.PublicApis,
|
||||||
AppCodes.PublicApis + ".Post",
|
AppCodes.PublicApis + ".Post",
|
||||||
"Post",
|
"Post",
|
||||||
permPublicApis.Name
|
permPublicApis.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
@ -669,7 +752,10 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
GetNewPermission(
|
GetNewPermission(
|
||||||
AppCodes.Settings.GlobalSearch,
|
AppCodes.Settings.GlobalSearch,
|
||||||
AppCodes.Settings.GlobalSearch,
|
AppCodes.Settings.GlobalSearch,
|
||||||
AppCodes.Settings.GlobalSearch
|
AppCodes.Settings.GlobalSearch,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var item in CUDE)
|
foreach (var item in CUDE)
|
||||||
|
|
@ -681,7 +767,9 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
AppCodes.Settings.GlobalSearch,
|
AppCodes.Settings.GlobalSearch,
|
||||||
permissionName,
|
permissionName,
|
||||||
item,
|
item,
|
||||||
permGlobalSearch.Name
|
permGlobalSearch.Name,
|
||||||
|
true,
|
||||||
|
MultiTenancySides.Host
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -697,6 +785,11 @@ public class PermissionSeeder : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
return new PermissionDefinitionRecord(Guid.NewGuid(),
|
return new PermissionDefinitionRecord(Guid.NewGuid(),
|
||||||
groupName,
|
groupName,
|
||||||
name, parentName, displayName, isEnabled, multiTenancySides);
|
name,
|
||||||
|
parentName,
|
||||||
|
displayName,
|
||||||
|
isEnabled,
|
||||||
|
multiTenancySides
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -102,12 +102,14 @@ public class PlatformIdentityDataSeeder : IdentityDataSeeder
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Default + ".Export", "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
|
new(Guid.NewGuid(), IdentityPermissions.Users.Default + ".Export", "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.ManageRoles, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.ManageRoles, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.UserLookup.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
new(Guid.NewGuid(), IdentityPermissions.UserLookup.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, tenantId),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
|
|
@ -1286,31 +1286,31 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "AbpLocalization",
|
"key": "Abp.Localization",
|
||||||
"en": "Localization",
|
"en": "Localization",
|
||||||
"tr": "Yerelleştirme"
|
"tr": "Yerelleştirme"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "AbpLocalization.DefaultLanguage",
|
"key": "Abp.Localization.DefaultLanguage",
|
||||||
"en": "Default Language",
|
"en": "Default Language",
|
||||||
"tr": "Varsayılan Dil"
|
"tr": "Varsayılan Dil"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "AbpLocalization.DefaultLanguage.Description",
|
"key": "Abp.Localization.DefaultLanguage.Description",
|
||||||
"en": "Default Language Description",
|
"en": "Default Language Description",
|
||||||
"tr": "Varsayılan Dil Açıklaması"
|
"tr": "Varsayılan Dil Açıklaması"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "AbpLocalization.Timezone",
|
"key": "Abp.Localization.Timezone",
|
||||||
"en": "Timezone",
|
"en": "Timezone",
|
||||||
"tr": "Saat Dilimi"
|
"tr": "Saat Dilimi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "AbpLocalization.Timezone.Description",
|
"key": "Abp.Localization.Timezone.Description",
|
||||||
"en": "Timezone Description",
|
"en": "Timezone Description",
|
||||||
"tr": "Saat Dilimi Açıklaması"
|
"tr": "Saat Dilimi Açıklaması"
|
||||||
},
|
},
|
||||||
|
|
@ -4061,17 +4061,17 @@
|
||||||
],
|
],
|
||||||
"Settings": [
|
"Settings": [
|
||||||
{
|
{
|
||||||
"code": "AbpLocalization.DefaultLanguage",
|
"code": "Abp.Localization.DefaultLanguage",
|
||||||
"nameKey": "AbpLocalization.DefaultLanguage",
|
"nameKey": "Abp.Localization.DefaultLanguage",
|
||||||
"descriptionKey": "AbpLocalization.DefaultLanguage.Description",
|
"descriptionKey": "Abp.Localization.DefaultLanguage.Description",
|
||||||
"defaultValue": "en",
|
"defaultValue": "en",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.SiteManagement",
|
"mainGroupKey": "App.SiteManagement",
|
||||||
"subGroupKey": "AbpLocalization",
|
"subGroupKey": "Abp.Localization",
|
||||||
"requiredPermissionName": "AbpLocalization",
|
"requiredPermissionName": "Abp.Localization",
|
||||||
"dataType": "List",
|
"dataType": "List",
|
||||||
"selectOptions": {
|
"selectOptions": {
|
||||||
"ar": "العربية",
|
"ar": "العربية",
|
||||||
|
|
@ -4095,17 +4095,17 @@
|
||||||
"order": 1
|
"order": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"code": "AbpLocalization.Timezone",
|
"code": "Abp.Localization.Timezone",
|
||||||
"nameKey": "AbpLocalization.Timezone",
|
"nameKey": "Abp.Localization.Timezone",
|
||||||
"descriptionKey": "AbpLocalization.Timezone.Description",
|
"descriptionKey": "Abp.Localization.Timezone.Description",
|
||||||
"defaultValue": "UTC",
|
"defaultValue": "UTC",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.SiteManagement",
|
"mainGroupKey": "App.SiteManagement",
|
||||||
"subGroupKey": "AbpLocalization",
|
"subGroupKey": "Abp.Localization",
|
||||||
"requiredPermissionName": "AbpLocalization",
|
"requiredPermissionName": "Abp.Localization",
|
||||||
"dataType": "Text",
|
"dataType": "Text",
|
||||||
"selectOptions": {},
|
"selectOptions": {},
|
||||||
"order": 2
|
"order": 2
|
||||||
|
|
@ -4116,7 +4116,7 @@
|
||||||
"descriptionKey": "App.SiteManagement.Theme.Style.Description",
|
"descriptionKey": "App.SiteManagement.Theme.Style.Description",
|
||||||
"defaultValue": "dx.light.compact",
|
"defaultValue": "dx.light.compact",
|
||||||
"isVisibleToClients": true,
|
"isVisibleToClients": true,
|
||||||
"providers": ["G", "D"],
|
"providers": ["U", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.SiteManagement",
|
"mainGroupKey": "App.SiteManagement",
|
||||||
|
|
@ -4196,7 +4196,7 @@
|
||||||
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Url.Description",
|
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Url.Description",
|
||||||
"defaultValue": "https://www.postaguvercini.com/api_http",
|
"defaultValue": "https://www.postaguvercini.com/api_http",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4212,7 +4212,7 @@
|
||||||
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Username.Description",
|
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Username.Description",
|
||||||
"defaultValue": "2AIlj4QlCrvlbDDBS/712A==",
|
"defaultValue": "2AIlj4QlCrvlbDDBS/712A==",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": true,
|
"isEncrypted": true,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4228,7 +4228,7 @@
|
||||||
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Password.Description",
|
"descriptionKey": "App.Sender.Sms.PostaGuvercini.Password.Description",
|
||||||
"defaultValue": "oTuwyZM9sxfJI+jDH5wJAw==",
|
"defaultValue": "oTuwyZM9sxfJI+jDH5wJAw==",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": true,
|
"isEncrypted": true,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4244,7 +4244,7 @@
|
||||||
"descriptionKey": "App.Sender.WhatsApp.Url.Description",
|
"descriptionKey": "App.Sender.WhatsApp.Url.Description",
|
||||||
"defaultValue": "https://graph.facebook.com/v21.0",
|
"defaultValue": "https://graph.facebook.com/v21.0",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4260,7 +4260,7 @@
|
||||||
"descriptionKey": "App.Sender.WhatsApp.PhoneNumberId.Description",
|
"descriptionKey": "App.Sender.WhatsApp.PhoneNumberId.Description",
|
||||||
"defaultValue": "442035112335974",
|
"defaultValue": "442035112335974",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4276,7 +4276,7 @@
|
||||||
"descriptionKey": "App.Sender.WhatsApp.Token.Description",
|
"descriptionKey": "App.Sender.WhatsApp.Token.Description",
|
||||||
"defaultValue": "EAANoftqZAJ64BO5oPwXPqniUtNGF70u8TKvQVzGZBaYQh5UY8fYrgQkcXP9UbQUqT9PWRah1L7TzcBIiWQMacT8AkmZB33AP1begLoywIZCsQSdBSUz21GQaCowfVosYgBoXSyqH8irSBPQDLIjxxVxrC2n76SD9X6zPXeHgOqIPY92DqJXplstWrlhtZCAZDZD",
|
"defaultValue": "EAANoftqZAJ64BO5oPwXPqniUtNGF70u8TKvQVzGZBaYQh5UY8fYrgQkcXP9UbQUqT9PWRah1L7TzcBIiWQMacT8AkmZB33AP1begLoywIZCsQSdBSUz21GQaCowfVosYgBoXSyqH8irSBPQDLIjxxVxrC2n76SD9X6zPXeHgOqIPY92DqJXplstWrlhtZCAZDZD",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4292,7 +4292,7 @@
|
||||||
"descriptionKey": "App.Sender.WhatsApp.TemplateName.Description",
|
"descriptionKey": "App.Sender.WhatsApp.TemplateName.Description",
|
||||||
"defaultValue": "kurs_platform_notification",
|
"defaultValue": "kurs_platform_notification",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4308,7 +4308,7 @@
|
||||||
"descriptionKey": "App.Sender.Rocket.Url.Description",
|
"descriptionKey": "App.Sender.Rocket.Url.Description",
|
||||||
"defaultValue": "https://chat.sozsoft.com/api/v1",
|
"defaultValue": "https://chat.sozsoft.com/api/v1",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4324,7 +4324,7 @@
|
||||||
"descriptionKey": "App.Sender.Rocket.UserId.Description",
|
"descriptionKey": "App.Sender.Rocket.UserId.Description",
|
||||||
"defaultValue": "LfpzPjzag4QJXm84N",
|
"defaultValue": "LfpzPjzag4QJXm84N",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4340,7 +4340,7 @@
|
||||||
"descriptionKey": "App.Sender.Rocket.Token.Description",
|
"descriptionKey": "App.Sender.Rocket.Token.Description",
|
||||||
"defaultValue": "jvqALawvXn0Q7c6FfHJV3h58DCHDfQLgFF5y7oIc7oc",
|
"defaultValue": "jvqALawvXn0Q7c6FfHJV3h58DCHDfQLgFF5y7oIc7oc",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "App.Sender",
|
"mainGroupKey": "App.Sender",
|
||||||
|
|
@ -4356,7 +4356,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.DefaultFromDisplayName.Description",
|
"descriptionKey": "Abp.Mailing.DefaultFromDisplayName.Description",
|
||||||
"defaultValue": "Kurs",
|
"defaultValue": "Kurs",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4372,7 +4372,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.DefaultFromAddress.Description",
|
"descriptionKey": "Abp.Mailing.DefaultFromAddress.Description",
|
||||||
"defaultValue": "system@sozsoft.com",
|
"defaultValue": "system@sozsoft.com",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4388,7 +4388,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.UserName.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.UserName.Description",
|
||||||
"defaultValue": "system@sozsoft.com",
|
"defaultValue": "system@sozsoft.com",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4404,7 +4404,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.Password.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.Password.Description",
|
||||||
"defaultValue": "QT9L7BCl1CT/1Hq19HoSlQ==",
|
"defaultValue": "QT9L7BCl1CT/1Hq19HoSlQ==",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": true,
|
"isEncrypted": true,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4420,7 +4420,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.Host.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.Host.Description",
|
||||||
"defaultValue": "127.0.0.1",
|
"defaultValue": "127.0.0.1",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4436,7 +4436,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.Port.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.Port.Description",
|
||||||
"defaultValue": "25",
|
"defaultValue": "25",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4452,7 +4452,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.Domain.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.Domain.Description",
|
||||||
"defaultValue": "sozsoft.com",
|
"defaultValue": "sozsoft.com",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4468,7 +4468,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.Smtp.EnableSsl.Description",
|
"descriptionKey": "Abp.Mailing.Smtp.EnableSsl.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4484,7 +4484,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.AWS.Profile.Description",
|
"descriptionKey": "Abp.Mailing.AWS.Profile.Description",
|
||||||
"defaultValue": "mail-sdk-user",
|
"defaultValue": "mail-sdk-user",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4500,7 +4500,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.AWS.Region.Description",
|
"descriptionKey": "Abp.Mailing.AWS.Region.Description",
|
||||||
"defaultValue": "eu-central-1",
|
"defaultValue": "eu-central-1",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4516,7 +4516,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.AWS.AccessKey.Description",
|
"descriptionKey": "Abp.Mailing.AWS.AccessKey.Description",
|
||||||
"defaultValue": "aXW8L21rP6dPO6Txj76Be2FCpWRBa25EMrSAVL76",
|
"defaultValue": "aXW8L21rP6dPO6Txj76Be2FCpWRBa25EMrSAVL76",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4532,7 +4532,7 @@
|
||||||
"descriptionKey": "Abp.Mailing.AWS.AccessKeyId.Description",
|
"descriptionKey": "Abp.Mailing.AWS.AccessKeyId.Description",
|
||||||
"defaultValue": "AKIATULUYBLX4IY3S2P1",
|
"defaultValue": "AKIATULUYBLX4IY3S2P1",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D", "T"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Mailing",
|
"mainGroupKey": "Abp.Mailing",
|
||||||
|
|
@ -4580,7 +4580,7 @@
|
||||||
"descriptionKey": "Abp.Account.TwoFactor.Enabled.Description",
|
"descriptionKey": "Abp.Account.TwoFactor.Enabled.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Account",
|
"mainGroupKey": "Abp.Account",
|
||||||
|
|
@ -4660,7 +4660,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description",
|
"descriptionKey": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4676,7 +4676,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description",
|
"descriptionKey": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description",
|
||||||
"defaultValue": "gmail.com\r\nyahoo.com\r\nhotmail.com",
|
"defaultValue": "gmail.com\r\nyahoo.com\r\nhotmail.com",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4692,7 +4692,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword.Description",
|
"descriptionKey": "Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4708,7 +4708,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.PasswordChangePeriodDays.Description",
|
"descriptionKey": "Abp.Identity.Password.PasswordChangePeriodDays.Description",
|
||||||
"defaultValue": "0",
|
"defaultValue": "0",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4724,7 +4724,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequiredLength.Description",
|
"descriptionKey": "Abp.Identity.Password.RequiredLength.Description",
|
||||||
"defaultValue": "6",
|
"defaultValue": "6",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4740,7 +4740,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequiredUniqueChars.Description",
|
"descriptionKey": "Abp.Identity.Password.RequiredUniqueChars.Description",
|
||||||
"defaultValue": "1",
|
"defaultValue": "1",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4756,7 +4756,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequireNonAlphanumeric.Description",
|
"descriptionKey": "Abp.Identity.Password.RequireNonAlphanumeric.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4772,7 +4772,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequireLowercase.Description",
|
"descriptionKey": "Abp.Identity.Password.RequireLowercase.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4788,7 +4788,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequireUppercase.Description",
|
"descriptionKey": "Abp.Identity.Password.RequireUppercase.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4804,7 +4804,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Password.RequireDigit.Description",
|
"descriptionKey": "Abp.Identity.Password.RequireDigit.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4820,7 +4820,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Lockout.AllowedForNewUsers.Description",
|
"descriptionKey": "Abp.Identity.Lockout.AllowedForNewUsers.Description",
|
||||||
"defaultValue": "True",
|
"defaultValue": "True",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4836,7 +4836,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Lockout.LockoutDuration.Description",
|
"descriptionKey": "Abp.Identity.Lockout.LockoutDuration.Description",
|
||||||
"defaultValue": "300",
|
"defaultValue": "300",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4852,7 +4852,7 @@
|
||||||
"descriptionKey": "Abp.Identity.Lockout.MaxFailedAccessAttempts.Description",
|
"descriptionKey": "Abp.Identity.Lockout.MaxFailedAccessAttempts.Description",
|
||||||
"defaultValue": "5",
|
"defaultValue": "5",
|
||||||
"isVisibleToClients": false,
|
"isVisibleToClients": false,
|
||||||
"providers": ["G", "D"],
|
"providers": ["T", "G", "D"],
|
||||||
"isInherited": false,
|
"isInherited": false,
|
||||||
"isEncrypted": false,
|
"isEncrypted": false,
|
||||||
"mainGroupKey": "Abp.Identity",
|
"mainGroupKey": "Abp.Identity",
|
||||||
|
|
@ -4973,17 +4973,5 @@
|
||||||
"d": "App.Listforms.Chart.Delete"
|
"d": "App.Listforms.Chart.Delete"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"Permissions": [
|
|
||||||
{
|
|
||||||
"Name": "asda",
|
|
||||||
"GroupName": "asd",
|
|
||||||
"ParentName": "asdas"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "asda",
|
|
||||||
"GroupName": "asd",
|
|
||||||
"ParentName": "asdas"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,7 @@ public static class SeedConsts
|
||||||
{
|
{
|
||||||
public static class AbpLocalization
|
public static class AbpLocalization
|
||||||
{
|
{
|
||||||
public const string GroupName = "AbpLocalization";
|
public const string GroupName = $"{Prefix.Abp}.Localization";
|
||||||
|
|
||||||
public const string DefaultLanguage = GroupName + ".DefaultLanguage";
|
public const string DefaultLanguage = GroupName + ".DefaultLanguage";
|
||||||
public const string Timezone = GroupName + ".Timezone";
|
public const string Timezone = GroupName + ".Timezone";
|
||||||
|
|
|
||||||
|
|
@ -248,12 +248,14 @@ public class DatabaseMigrationEventHandler :
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
|
new(Guid.NewGuid(), IdentityPermissions.Roles.Default + ".Export", "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Roles.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Roles.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Create, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Delete, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.Update, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.ManagePermissions, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
|
new(Guid.NewGuid(), IdentityPermissions.Users.Default + ".Export", "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.Users.ManageRoles, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.Users.ManageRoles, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
new(Guid.NewGuid(), IdentityPermissions.UserLookup.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
new(Guid.NewGuid(), IdentityPermissions.UserLookup.Default, "R", PlatformConsts.AbpIdentity.User.AdminRoleName, eventData.TenantId),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
|
|
@ -80,12 +80,17 @@ const Footer: React.FC = () => {
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
|
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
|
||||||
{t('services.consulting.title')}
|
{t('services.database.title')}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
|
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
|
||||||
{t('services.maintenance.title')}
|
{t('services.integration.title')}
|
||||||
|
</Link>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
|
||||||
|
{t('services.consulting.title')}
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -400,7 +400,7 @@ const translations = {
|
||||||
|
|
||||||
// Hero Section
|
// Hero Section
|
||||||
// Hero Section
|
// Hero Section
|
||||||
"hero.title": "The World's Leading Language Course Software",
|
"hero.title": "The Turkey's Leading Language Course Software",
|
||||||
"hero.subtitle":
|
"hero.subtitle":
|
||||||
"With over 20 years of experience, we help you take your business one step ahead in the digital world with our software solutions developed specifically for language schools and courses.",
|
"With over 20 years of experience, we help you take your business one step ahead in the digital world with our software solutions developed specifically for language schools and courses.",
|
||||||
"hero.cta.consultation": "Request a Free Demo",
|
"hero.cta.consultation": "Request a Free Demo",
|
||||||
|
|
|
||||||
|
|
@ -78,10 +78,6 @@ const Login = () => {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parts[0] === 'www') {
|
|
||||||
return parts[1]
|
|
||||||
}
|
|
||||||
|
|
||||||
return parts[0].toUpperCase()
|
return parts[0].toUpperCase()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -174,7 +170,6 @@ const Login = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const subDomainName = getSubdomain()
|
const subDomainName = getSubdomain()
|
||||||
//const subDomainName = 'KURS2'
|
|
||||||
const tenantId = useStoreState((a) => a.auth.tenantId) ?? subDomainName
|
const tenantId = useStoreState((a) => a.auth.tenantId) ?? subDomainName
|
||||||
const tenantStyle: React.CSSProperties | undefined =
|
const tenantStyle: React.CSSProperties | undefined =
|
||||||
subDomainName && subDomainName !== defaultSubDomain
|
subDomainName && subDomainName !== defaultSubDomain
|
||||||
|
|
@ -190,10 +185,14 @@ const Login = () => {
|
||||||
: undefined
|
: undefined
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isMultiTenant) {
|
if (!isMultiTenant) return
|
||||||
return
|
|
||||||
|
const subDomainName = getSubdomain()
|
||||||
|
if (subDomainName?.toUpperCase() === defaultSubDomain) {
|
||||||
|
setTenantId('')
|
||||||
|
} else {
|
||||||
|
setTenantId(subDomainName || '')
|
||||||
}
|
}
|
||||||
setTenantId(subDomainName || '')
|
|
||||||
}, [isMultiTenant])
|
}, [isMultiTenant])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue