Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: grant projectOwner to the first user (#10482)
p0nybca0e172422e
diff --git a/backend/store/principal.go b/backend/store/principal.goindex 2267db98d1..690a0e6856 100644--- a/backend/store/principal.go+++ b/backend/store/principal.go@@ -289,6 +289,9 @@ func (s *Store) CreateUser(ctx context.Context, create *UserMessage, creatorID i// Grant the member Owner role if there is no existing member.if firstMember {roles = []api.Role{api.WorkspaceAdmin}+ if s.profile.DevelopmentIAM {+ roles = append(roles, api.ProjectOwner)+ }}roles = uniq(roles)