diff --git a/app/src-tauri/src/commands/environment_commands.rs b/app/src-tauri/src/commands/environment_commands.rs index 736a346..71d6e9a 100644 --- a/app/src-tauri/src/commands/environment_commands.rs +++ b/app/src-tauri/src/commands/environment_commands.rs @@ -374,9 +374,10 @@ pub(crate) fn ec2_collision_refusal( /// Everything a self-onboarding apply needs settled before it starts: the /// caller's record, the capacity ([`resolve_ec2`]), the module variables /// and, with EC2 capacity, the name check ([`ec2_collision_refusal`]). -/// Check-then-apply leaves a narrow race (another admin creating the same -/// names in between); only admins apply, and the module would then fail on -/// create rather than adopt. +/// Check-then-apply leaves a narrow race (someone else creating the same +/// names in between); the module would then fail on create rather than +/// adopt. Anyone may start this: there is no tier check in the app, and AWS +/// refuses (mapped to `AccessDenied`) what the caller isn't permitted. pub(crate) async fn prepare_onboarding( api: &A, env: &str, diff --git a/app/src/components/settings/HostsSettings.tsx b/app/src/components/settings/HostsSettings.tsx index b1653d9..9a70a49 100644 --- a/app/src/components/settings/HostsSettings.tsx +++ b/app/src/components/settings/HostsSettings.tsx @@ -64,7 +64,7 @@ function ErrorLine({ }) { return (
- {awsErrorMessage(failure.error)} + {awsErrorMessage(failure.error)} {failure.error.kind === "sso_expired" && !onSignIn && ( Sign in with aws sso login --profile {failure.error.profile} and try again. @@ -124,7 +124,7 @@ function PermissionReportView({ report }: { report: PermissionReport }) { > {badge} - + {report.identity.arn} · {report.region}
@@ -154,8 +154,8 @@ function PermissionReportView({ report }: { report: PermissionReport }) {