chore(coderd/rbac): reflow DefaultOrgMemberRoles doc comment

This commit is contained in:
Michael Suchacz
2026-09-26 20:29:53 +00:00
parent e38c16b36b
commit 8bec029d35
+3 -3
View File
@@ -217,9 +217,9 @@ func ScopedRoleAgentsAccess(organizationID uuid.UUID) RoleIdentifier {
// DefaultOrgMemberRoles is the deployment-wide default for the
// organizations.default_org_member_roles column, applied to every new
// organization at creation time: workspace access and Coder Agents access.
// The column has no SQL DEFAULT, so this
// is the sole authoritative source: every InsertOrganization call site
// must supply this value unless a caller-chosen override is required.
// The column has no SQL DEFAULT, so this is the sole authoritative source:
// every InsertOrganization call site must supply this value unless a
// caller-chosen override is required.
// Returned as a fresh slice each call to prevent accidental mutation of
// the shared default through append or index assignment.
func DefaultOrgMemberRoles() []string {