Reworking auth in module

This commit is contained in:
max 2024-12-01 03:14:36 +01:00
parent 21995925b0
commit 1db1e35ee7
5 changed files with 11 additions and 2 deletions

@ -1 +1 @@
Subproject commit a3be0d96480892a6b2e13ebae30a636389373bbb Subproject commit 4580c5f5dc53886a48dcb07e1a918484197693cd

View File

@ -9,7 +9,7 @@
</Authorized> </Authorized>
</AuthorizeView> </AuthorizeView>
<AuthorizeView Roles="test"> <AuthorizeView Roles="Test">
<NotAuthorized> <NotAuthorized>
<span>Not autorized for role: 'test'</span> <span>Not autorized for role: 'test'</span>
</NotAuthorized> </NotAuthorized>

View File

@ -1,6 +1,7 @@
using DotBased.ASP.Auth; using DotBased.ASP.Auth;
using DotBased.ASP.Auth.Domains.Auth; using DotBased.ASP.Auth.Domains.Auth;
using DotBased.ASP.Auth.Domains.Identity; using DotBased.ASP.Auth.Domains.Identity;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using MudBlazor.Services; using MudBlazor.Services;
using SharpRSS.Blazor.Components; using SharpRSS.Blazor.Components;

View File

@ -7,6 +7,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\DotBased\DotBased.ASP.Authentication\DotBased.ASP.Authentication.csproj" />
<ProjectReference Include="..\DotBased\DotBased.Logging.MEL\DotBased.Logging.MEL.csproj" /> <ProjectReference Include="..\DotBased\DotBased.Logging.MEL\DotBased.Logging.MEL.csproj" />
<ProjectReference Include="..\SharpRSS.Business\SharpRSS.Business.csproj" /> <ProjectReference Include="..\SharpRSS.Business\SharpRSS.Business.csproj" />
<ProjectReference Include="..\SharpRSS.Core\SharpRSS.Core.csproj" /> <ProjectReference Include="..\SharpRSS.Core\SharpRSS.Core.csproj" />

View File

@ -21,6 +21,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.ASP.Auth", "DotBas
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.Logging.MEL", "DotBased\DotBased.Logging.MEL\DotBased.Logging.MEL.csproj", "{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.Logging.MEL", "DotBased\DotBased.Logging.MEL\DotBased.Logging.MEL.csproj", "{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.ASP.Authentication", "DotBased\DotBased.ASP.Authentication\DotBased.ASP.Authentication.csproj", "{37703127-5678-4C14-8AC3-798A8FE1C8A2}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -59,6 +61,10 @@ Global
{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Debug|Any CPU.Build.0 = Debug|Any CPU {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.ActiveCfg = Release|Any CPU {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.Build.0 = Release|Any CPU {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.Build.0 = Release|Any CPU
{37703127-5678-4C14-8AC3-798A8FE1C8A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{37703127-5678-4C14-8AC3-798A8FE1C8A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{37703127-5678-4C14-8AC3-798A8FE1C8A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{37703127-5678-4C14-8AC3-798A8FE1C8A2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@ -71,5 +77,6 @@ Global
{49F07625-B92C-439B-AC3E-7DEB26EA15D4} = {A73E4832-235F-4032-825E-3A928199A5DF} {49F07625-B92C-439B-AC3E-7DEB26EA15D4} = {A73E4832-235F-4032-825E-3A928199A5DF}
{18CEAA37-B46A-4543-9E7B-5BF12CFF9172} = {A73E4832-235F-4032-825E-3A928199A5DF} {18CEAA37-B46A-4543-9E7B-5BF12CFF9172} = {A73E4832-235F-4032-825E-3A928199A5DF}
{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E} = {A73E4832-235F-4032-825E-3A928199A5DF} {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E} = {A73E4832-235F-4032-825E-3A928199A5DF}
{37703127-5678-4C14-8AC3-798A8FE1C8A2} = {A73E4832-235F-4032-825E-3A928199A5DF}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal