Moved invitation from jetstream to API; Deactived moved jetstream features

This commit is contained in:
Constantin Graf
2024-07-15 17:17:56 +02:00
committed by Constantin Graf
parent 555417dbbd
commit fd8d596e9b
25 changed files with 294 additions and 348 deletions

View File

@@ -70,7 +70,7 @@ class OrganizationPolicy
return true;
}
return $user->ownsTeam($organization);
return true;
}
/**
@@ -82,7 +82,8 @@ class OrganizationPolicy
return true;
}
return $user->ownsTeam($organization);
// Note: since this policy is only used for jetstream endpoints, we can return false here
return false;
}
/**
@@ -94,7 +95,8 @@ class OrganizationPolicy
return true;
}
return $user->ownsTeam($organization);
// Note: since this policy is only used for jetstream endpoints that are no longer in use, we can return false here
return false;
}
/**