Skip to content

Commit

Permalink
Add auth.credentials_login permission to default-user
Browse files Browse the repository at this point in the history
Change-type: minor
  • Loading branch information
otaviojacobi committed Jun 4, 2024
1 parent 423fc58 commit cc8071c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ ROLES['device-api-key'] = [

export const DEFAULT_USER_EXTRA_PERMISSIONS = [
'auth.create_token',
'auth.credentials_login',
`resin.user.create-user-api-key?${matchesActor}`,
`resin.user.create-named-user-api-key?${matchesActor}`,
// api_key.create is not allowed, must be done via the custom endpoints
Expand Down

0 comments on commit cc8071c

Please sign in to comment.