discourse/app/services/groups
Ted Johansson 66d5bfb309
DEV: Add descriptive error message when creating requestable group with no owner (#40391)
### What is this change?

The back-end validates that groups where users can request access from
owners has at least one owner. Currently this results in a `FAILED`
error message. After this PR, it shows a helpful error instead.

The translation already exists, so it's likely this was once there, but
lost when converting to a service object.

**Before:**

<img width="603" height="168" alt="Screenshot 2026-05-29 at 10 37 03 AM"
src="https://github.com/user-attachments/assets/d10c363f-ec23-4bab-9857-9558eb590178"
/>

**After:**

<img width="724" height="167" alt="Screenshot 2026-05-29 at 10 36 27 AM"
src="https://github.com/user-attachments/assets/46cb76af-4936-4a42-b058-da20fb59cf23"
/>
2026-05-29 11:11:59 +08:00
..
create.rb DEV: Add descriptive error message when creating requestable group with no owner (#40391) 2026-05-29 11:11:59 +08:00