Minor update to default role description text
This commit is contained in:
1 parent
5bf307797b
commit
8dd5de49b9
1 file changed
+2
-2
@@ -456,7 +456,7 @@ func (b *Server) CreateDevDatabase(dialect string) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating in memory role for anon authen: %w", err)
|
||||
}
|
||||
authenRole, err := repo.CreateRole(ctx, ar, iam.WithDescription("role for anon authen"))
|
||||
authenRole, err := repo.CreateRole(ctx, ar, iam.WithDescription("role for authentication by the anonymous user"))
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating role for anon authen: %w", err)
|
||||
}
|
||||
@@ -471,7 +471,7 @@ func (b *Server) CreateDevDatabase(dialect string) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating in memory role for default dev grants: %w", err)
|
||||
}
|
||||
defPermsRole, err := repo.CreateRole(ctx, pr, iam.WithDescription("role for def grants"))
|
||||
defPermsRole, err := repo.CreateRole(ctx, pr, iam.WithDescription("role for admin grants to authenticated users"))
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating role for default dev grants: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user