This PR introduces GuestRestrictionMiddleware, a piece of middleware that prevents non-authenticated users (I called them "guests") to selected routes. It introduces two new config options, both of which are documented in README.
Added GuestRestrictionMiddleware
Added config options RestrictEndpoints and RestrictedRoutes
Moved ExceptionHandlingMiddleware to a Middlewares folder
Removed permission rules and checks that would realistically be made redundant by the new middleware.
This PR introduces
GuestRestrictionMiddleware
, a piece of middleware that prevents non-authenticated users (I called them "guests") to selected routes. It introduces two new config options, both of which are documented in README.GuestRestrictionMiddleware
RestrictEndpoints
andRestrictedRoutes
ExceptionHandlingMiddleware
to aMiddlewares
folderhive.channels.list
hive.mods.list
hive.mod.get