From 8b76b4d8a98828669117d98328017032c74407ad Mon Sep 17 00:00:00 2001 From: cathli66 Date: Wed, 1 May 2024 01:16:40 -0400 Subject: [PATCH] users are allowed to see their own auth type --- server/src/casl/casl-ability.factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/casl/casl-ability.factory.ts b/server/src/casl/casl-ability.factory.ts index 0409585e..ae5aba81 100644 --- a/server/src/casl/casl-ability.factory.ts +++ b/server/src/casl/casl-ability.factory.ts @@ -131,7 +131,7 @@ export class CaslAbilityFactory { can( Action.Read, 'User', - ['email', 'groupId', 'id', 'score', 'trackedEvents', 'favorites'], + ['email', 'groupId', 'id', 'score', 'trackedEvents', 'favorites', 'authType'], { id: user.id, },