mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
chore(coderd/rbac): reflow DefaultOrgMemberRoles doc comment
This commit is contained in:
@@ -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