1
0

11 Commits

Author SHA1 Message Date
b65d998b01 Add policy authorization based on claim for admin role.
Note that this redirects to the login page, it should actually display an Access Denied message.
2025-04-18 17:53:20 +02:00
3e5d94e26f Add missing mapping to identity endpoints.
(Logout did not work for example)
2025-04-18 11:50:18 +02:00
c3df56b0da Add identity context and ASP.NET individual account pages for authorization.
I created a new Blazor project with individual accounts, then transferred the files over to the existing project.
Then renamed ApplicationDbContext to: IdentityContext to distinguish from the application context.
Then ran the update database command with the existing migration for identity.
2025-04-18 10:20:55 +02:00
dcf5e7b675 Create IServersEFCoreRepository interface, register as service and use dependency injection to replace the static ServersRepository. 2025-04-16 23:46:00 +02:00
0d661c09e4 Add ServerManagementContext with connectionstring. 2025-04-15 23:26:55 +02:00
b9d6b79ad4 Add comments about Singleton, Scoped and Transient to Program.cs file. 2025-03-31 23:46:37 +02:00
9e7e7df370 Add observer for online servers.
Only for the servers in the Eindhoven city.
2025-03-30 22:33:08 +02:00
734a59f38b Replace SessionStorage with ContainerStorage.
This is retained on the SignalR connection and is unique to the user.
2025-03-30 22:32:22 +02:00
a25e767b29 Use ProtectedSessionStorage to for add server wizard.
And replace the URL query string with it.
2025-03-30 19:56:47 +02:00
64c2be5028 Replace EditForm for turn on/off button with server interactivity. 2025-03-25 12:15:17 +01:00
a293b4ebf1 Creating new blazor project. 2025-03-23 12:38:17 +01:00