You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit de26d1d
Browse filesBrowse the repository at this point in the historyBrowse files
* Member-role invites must carry workspace access so the invitee has a
245
+
* workspace to land in after accepting — a member with no workspace
246
+
* grants (and no admin-derived access) would hit a workspace-less dead
247
+
* end. Admin invites are exempt: admins derive access to every
248
+
* organization workspace.
249
+
*/
250
+
if(!isOrgAdminRole(role)){
251
+
returnNextResponse.json(
252
+
{
253
+
error:
254
+
'Member invitations must include at least one workspace. Use the invitations endpoint with workspaceInvitations so the invitee has a workspace to land in.',
0 commit comments