Update wording for "all users" usecase. The users are still subject to Gerrit ACLs and therefore can't necessarily vote Code-Review (approve), even if they are considered an owner. Google-Bug-Id: b/40015225 Release-Notes: skip Change-Id: Ia95f0866c042180b50d34bfc285c0974520222a3 Reviewed-on: https://gerrit-review.googlesource.com/c/plugins/code-owners/+/407122 Reviewed-by: Edwin Kempin <ekempin@google.com> Tested-by: Zuul <zuul-63@gerritcodereview-ci.iam.gserviceaccount.com>
diff --git a/web/suggest-owners.ts b/web/suggest-owners.ts index 4fe2a7d..7f07906 100644 --- a/web/suggest-owners.ts +++ b/web/suggest-owners.ts
@@ -770,12 +770,12 @@ private getOwnedByAllUsersContent() { if (this.selectedSuggestionsState === SuggestionsState.Loading) { - return 'Any user can approve'; + return 'All users are considered owners'; } // If all users own all the files in the change suggestedOwners.length === 1 // (suggestedOwners - collection of owners groupbed by owners) return this.suggestedOwners && this.suggestedOwners.length === 1 - ? 'Any user can approve. Please select a user manually' + ? 'All users are considered owners. Please select a user manually' : 'Any user from the other files can approve'; }