Resolved #286: Rename permission & setting provider names to shorter ones.

pull/1957/head
Halil İbrahim Kalkan 5 years ago
parent 6a575eab23
commit a3d248a02f

@ -5,7 +5,7 @@ namespace Volo.Abp.Authorization.Permissions
{
public class ClientPermissionValueProvider : PermissionValueProvider
{
public const string ProviderName = "Client";
public const string ProviderName = "C";
public override string Name => ProviderName;

@ -6,7 +6,7 @@ namespace Volo.Abp.Authorization.Permissions
{
public class RolePermissionValueProvider : PermissionValueProvider
{
public const string ProviderName = "Role";
public const string ProviderName = "R";
public override string Name => ProviderName;

@ -5,7 +5,7 @@ namespace Volo.Abp.Authorization.Permissions
{
public class UserPermissionValueProvider : PermissionValueProvider
{
public const string ProviderName = "User";
public const string ProviderName = "U";
public override string Name => ProviderName;

@ -4,7 +4,7 @@ namespace Volo.Abp.Features
{
public class DefaultValueFeatureValueProvider : FeatureValueProvider //TODO: Directly implement IFeatureValueProvider
{
public const string ProviderName = "Default";
public const string ProviderName = "D";
public override string Name => ProviderName;

@ -6,7 +6,7 @@ namespace Volo.Abp.Features
{
public class EditionFeatureValueProvider : FeatureValueProvider
{
public const string ProviderName = "Edition";
public const string ProviderName = "E";
public override string Name => ProviderName;

@ -5,7 +5,7 @@ namespace Volo.Abp.Features
{
public class TenantFeatureValueProvider : FeatureValueProvider
{
public const string ProviderName = "Tenant";
public const string ProviderName = "T";
public override string Name => ProviderName;

@ -4,7 +4,7 @@ namespace Volo.Abp.Settings
{
public class DefaultValueSettingValueProvider : SettingValueProvider
{
public const string ProviderName = "Default";
public const string ProviderName = "D";
public override string Name => ProviderName;

@ -4,7 +4,7 @@ namespace Volo.Abp.Settings
{
public class GlobalSettingValueProvider : SettingValueProvider
{
public const string ProviderName = "Global";
public const string ProviderName = "G";
public override string Name => ProviderName;

@ -5,7 +5,7 @@ namespace Volo.Abp.Settings
{
public class TenantSettingValueProvider : SettingValueProvider
{
public const string ProviderName = "Tenant";
public const string ProviderName = "T";
public override string Name => ProviderName;

@ -5,7 +5,7 @@ namespace Volo.Abp.Settings
{
public class UserSettingValueProvider : SettingValueProvider
{
public const string ProviderName = "User";
public const string ProviderName = "U";
public override string Name => ProviderName;

@ -37,7 +37,7 @@
visible: abp.auth.isGranted('AbpIdentity.Roles.ManagePermissions'),
action: function (data) {
_permissionsModal.open({
providerName: 'Role',
providerName: 'R',
providerKey: data.record.name
});
}

@ -36,7 +36,7 @@
visible: abp.auth.isGranted('AbpIdentity.Users.ManagePermissions'),
action: function (data) {
_permissionsModal.open({
providerName: 'User',
providerName: 'U',
providerKey: data.record.id
});
}

@ -46,7 +46,7 @@
visible: abp.auth.isGranted('AbpTenantManagement.Tenants.ManageFeatures'),
action: function (data) {
_featuresModal.open({
providerName: 'Tenant',
providerName: 'T',
providerKey: data.record.id
});
}

Loading…
Cancel
Save