chore(coderd/rbac): reflow DefaultOrgMemberRoles doc comment
This commit is contained in:
1 parent
e38c16b36b
commit
8bec029d35
1 file changed
+3
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user