Skip to content

Commit

Permalink
Update default user
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoe authored and muXxer committed Jan 10, 2023
1 parent f0ab83d commit 2eb3c30
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions core/users/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package users

import (
"github.com/iotaledger/hive.go/core/app"
"github.com/iotaledger/wasp/packages/authentication/shared/permissions"
)

const (
Expand Down Expand Up @@ -34,8 +35,17 @@ var ParamsUsers = &ParametersUsers{
PasswordHash: "c34ec258dd87938c9c19228f7062ef17c847ed9fac4f9a284ccfebdbff08e3f9",
PasswordSalt: "db32d4f152a3dadd81cd9b71074a4ea3346dbf8ff1998d33e9452091fff6f503",
Permissions: []string{
"dashboard",
"api",
permissions.MetricsRead,
permissions.UsersRead,
permissions.UsersWrite,
permissions.NodeRead,
permissions.NodeWrite,
permissions.PeeringRead,
permissions.PeeringWrite,
permissions.ChainRead,
permissions.ChainWrite,
permissions.API,
permissions.Dashboard,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion users.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{
}
}

0 comments on commit 2eb3c30

Please sign in to comment.