Browse Source

Permission code spell mistake

HOME 2 years ago
parent
commit
d57a4b085b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      VCommonCoreExample/Authorization/PermissionCodes.cs

+ 3 - 3
VCommonCoreExample/Authorization/PermissionCodes.cs

@@ -1,6 +1,6 @@
 namespace VCommonCoreExample.Authorization
 {
-    public class PermissionCodes
+    public static class PermissionCodes
     {
         public static class Platform
         {
@@ -8,7 +8,7 @@
 
             public static class Tenant
             {
-                public const string EntryTenant = nameof(EntryPlatform) + "." + nameof(Tenant);
+                public const string EntryTenant = EntryPlatform + "." + nameof(Tenant);
 
                 public const string Query = EntryTenant + "." + nameof(Query);
                 public const string Create = EntryTenant + "." + nameof(Create);
@@ -18,7 +18,7 @@
 
             //public static class License
             //{
-            //    public const string EntryLicense = nameof(EntryPlatform) + "." + nameof(License);
+            //    public const string EntryLicense = EntryPlatform + "." + nameof(License);
 
             //    public const string Query = EntryLicense + "." + nameof(Query);
             //    public const string Create = EntryLicense + "." + nameof(Create);