feat(server): make permission a standalone module (#7880)

This commit is contained in:
forehalo
2024-08-15 10:01:52 +00:00
parent ba8958f39b
commit 624f3514fc
30 changed files with 123 additions and 116 deletions

View File

@@ -21,6 +21,6 @@ import { OAuthService } from './service';
],
controllers: [OAuthController],
contributesTo: ServerFeature.OAuth,
if: config => !!config.plugins.oauth,
if: config => config.flavor.graphql && !!config.plugins.oauth,
})
export class OAuthModule {}