Alkoholová tabulka ale lepší
Find a file
martinshoob b59fef222f Implement admin-only authorization policy
Adds an authorization policy to restrict access to admin-only endpoints.
Creates an `AdminOnlyRequirement` and `AdminOnlyHandler` to check if a user has admin privileges.
Applies the "AdminOnly" policy to the AdminController to secure admin functionalities.
Modifies the endpoint for changing user admin status to include the user ID in the route.
2025-08-10 18:07:34 +02:00
DrinkRateAPI Implement admin-only authorization policy 2025-08-10 18:07:34 +02:00
.gitignore Add gitignore 2025-08-09 12:57:21 +02:00
chillrate.sln INIT 2025-08-08 23:28:03 +02:00