diff --git a/src/app.module.ts b/src/app.module.ts
index c86c99d283dffbed6dd1400e88ce7c8f445a85c6..f593d727a4ed2ba97cc5f7735b104380de65c162 100644
--- a/src/app.module.ts
+++ b/src/app.module.ts
@@ -1,5 +1,5 @@
 import { Module } from '@nestjs/common';
-import { APP_FILTER, APP_INTERCEPTOR } from '@nestjs/core';
+import { APP_FILTER, APP_INTERCEPTOR, APP_GUARD } from '@nestjs/core';
 import { TypeOrmModule } from '@nestjs/typeorm';
 import { AppController } from './app.controller';
 import { AppService } from './app.service';
@@ -11,6 +11,7 @@ import { LoggingInterceptor } from './shared/logging.interceptor';
 import { MapMarkerModule } from './mapmarkers/mapmarkers.module';
 import { NotificationModule } from './notifications/notifications.module';
 import { GameModule } from './game/game.module';
+import { RolesGuard } from './shared/roles.guard';
 
 @Module({
   imports: [
@@ -31,6 +32,10 @@ import { GameModule } from './game/game.module';
       provide: APP_INTERCEPTOR,
       useClass: LoggingInterceptor,
     },
+    {
+      provide: APP_GUARD,
+      useClass: RolesGuard
+    }
   ],
 })
 export class AppModule {