Minor update to default role description text

This commit is contained in:
Jeff Mitchell committed 2020-08-07 13:42:04 -04:00
1 parent 5bf307797b
commit 8dd5de49b9
1 file changed
+2 -2
+2 -2
View File
@@ -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)
}