Added authorization to controllers, added environment check to swagger, added authorization to health checks

This commit is contained in:
2025-10-05 02:11:52 +02:00
parent d9f3c67e8a
commit 2931c55509
5 changed files with 15 additions and 3 deletions

View File

@@ -3,7 +3,9 @@ using Microsoft.AspNetCore.Mvc;
using Novell.Directory.Ldap;
using Berufsschule_HAM.Models;
using System.Text.Json;
using Microsoft.AspNetCore.Authorization;
[Authorize]
[Route("[controller]")]
public class GroupsController : Controller
{