Skip to content

Commit

Permalink
users are allowed to see their own auth type
Browse files Browse the repository at this point in the history
  • Loading branch information
cathli66 committed May 1, 2024
1 parent 45c46f2 commit 8b76b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/casl/casl-ability.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 8b76b4d

Please sign in to comment.