Skip to content

Commit e722f6c

Browse files
committed
Remove unneeded comment
1 parent 85e5f60 commit e722f6c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

apps/webapp/app/models/organization.server.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ export async function createOrganization(
8282
},
8383
});
8484

85-
// No upfront RBAC UserRole insert — the loaded RBAC plugin (if any)
86-
// is responsible for deriving the creator's role from the legacy
87-
// OrgMember.role = "ADMIN" write above (which maps to Owner) until an
88-
// Owner explicitly changes someone's role on the Teams page. Keeps
89-
// the create-org path tight and lets the plugin stay the single
90-
// source of truth for "who has what role" by default.
9185
return { ...organization };
9286
}
9387

0 commit comments

Comments
 (0)