We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e5f60 commit e722f6cCopy full SHA for e722f6c
1 file changed
apps/webapp/app/models/organization.server.ts
@@ -82,12 +82,6 @@ export async function createOrganization(
82
},
83
});
84
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.
91
return { ...organization };
92
}
93
0 commit comments