-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #989 from colinin/fix-docker-openiddict
Fix docker openiddict
- Loading branch information
Showing
23 changed files
with
97 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<TargetFramework>net8.0</TargetFramework> <!-- 或其他适合的框架 --> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageId>LINGYUN.Abp.MicroService.Templates</PackageId> | ||
<Version>8.1.3</Version> | ||
<Version>8.2.1</Version> | ||
<Authors>[email protected]</Authors> | ||
<Description>Abp framework micro-service template</Description> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
...rojectNamePermissionDefinitionProvider.cs → ...rojectNamePermissionDefinitionProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
using PackageName.CompanyName.ProjectName.Localization; | ||
using Volo.Abp.Authorization.Permissions; | ||
using Volo.Abp.Localization; | ||
|
||
namespace PackageName.CompanyName.ProjectName.Authorization; | ||
|
||
public class ProjectNamePermissionDefinitionProvider : PermissionDefinitionProvider | ||
{ | ||
public override void Define(IPermissionDefinitionContext context) | ||
{ | ||
var group = context.AddGroup(ProjectNamePermissions.GroupName, L("Permission:ProjectName")); | ||
|
||
group.AddPermission( | ||
ProjectNamePermissions.ManageSettings, | ||
L("Permission:ManageSettings")); | ||
} | ||
|
||
private static LocalizableString L(string name) | ||
{ | ||
return LocalizableString.Create<ProjectNameResource>(name); | ||
} | ||
} | ||
using PackageName.CompanyName.ProjectName.Localization; | ||
using Volo.Abp.Authorization.Permissions; | ||
using Volo.Abp.Localization; | ||
|
||
namespace PackageName.CompanyName.ProjectName.Permissions; | ||
|
||
public class ProjectNamePermissionDefinitionProvider : PermissionDefinitionProvider | ||
{ | ||
public override void Define(IPermissionDefinitionContext context) | ||
{ | ||
var group = context.AddGroup(ProjectNamePermissions.GroupName, L("Permission:ProjectName")); | ||
|
||
group.AddPermission( | ||
ProjectNamePermissions.ManageSettings, | ||
L("Permission:ManageSettings")); | ||
} | ||
|
||
private static LocalizableString L(string name) | ||
{ | ||
return LocalizableString.Create<ProjectNameResource>(name); | ||
} | ||
} |
16 changes: 8 additions & 8 deletions
16
...e/Authorization/ProjectNamePermissions.cs → ...ame/Permissions/ProjectNamePermissions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
namespace PackageName.CompanyName.ProjectName.Authorization; | ||
|
||
public static class ProjectNamePermissions | ||
{ | ||
public const string GroupName = "ProjectName"; | ||
|
||
public const string ManageSettings = GroupName + ".ManageSettings"; | ||
} | ||
namespace PackageName.CompanyName.ProjectName.Permissions; | ||
|
||
public static class ProjectNamePermissions | ||
{ | ||
public const string GroupName = "ProjectName"; | ||
|
||
public const string ManageSettings = GroupName + ".ManageSettings"; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ent/PackageName/CompanyName/ProjectName/SettingManagement/ProjectNameSettingAppService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.