-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ポリシーを示す文字列をWeb.Admin内にinternal constで定義するように修正 (#2248)
- Loading branch information
1 parent
a4d0e88
commit 523cd65
Showing
5 changed files
with
23 additions
and
8 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
12 changes: 12 additions & 0 deletions
12
samples/Dressca/dressca-backend/src/Dressca.Web.Admin/Authorization/Policies.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Dressca.Web.Admin.Authorization; | ||
|
||
/// <summary> | ||
/// ポリシーを管理するための静的クラスです。 | ||
/// </summary> | ||
internal static class Policies | ||
{ | ||
/// <summary> | ||
/// 管理者ロールが必要であるというポリシーを示す文字列です。 | ||
/// </summary> | ||
internal const string RequireAdminRole = "RequireAdminRole"; | ||
} |
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