Jaayden Halko
820689dc0b
feat: include the owner in the chat project ACL response ( #31244 )
...
The chat project ACL response now includes the project's owner, so the
project page can show who owns a project to everyone who can read it.
`GET
/api/experimental/organizations/{organization}/chats/projects/{project}/acl`
returns a new `owner` field (`MinimalUser`). The owner is never in
`users`, and `GET /api/v2/users/{id}` returns 404 to regular
organization members, so project members and project admins currently
see the owner as "Unknown". The handler loads the owner with a
system-restricted context after the existing read and sharing-disabled
checks, matching how it already loads shared users and groups.
`TestChatProjectSharing/User` and `/Admin` now check the owner as seen
by the owner, a `use` sharee and an `admin` sharee, and that both
sharees still get 404 from the users endpoint. Dogfood UAT on a dev
deployment confirmed the field for all three callers, no owner data for
callers without access (404), and the unchanged 403 when chat sharing is
disabled.
Stack (merge bottom first):
- 👉 this PR
- #31245
- #31246
- #31247
2026-11-03 23:03:37 +07:00
..
2026-11-03 12:34:49 +02:00
2026-09-03 13:29:17 -07:00
2026-08-26 11:57:56 -06:00
2026-08-17 14:09:23 -08:00
2026-10-30 15:52:22 +02:00
2026-10-29 10:18:54 +01:00
2026-01-08 15:24:11 +04:00
2026-09-21 11:53:11 +02:00
2026-07-28 13:59:37 +02:00
2026-08-05 13:22:23 -07:00
2026-09-18 15:22:02 +01:00
2026-10-26 13:26:38 +00:00
2026-08-05 13:22:23 -07:00
2026-08-20 11:56:58 +01:00
2026-09-23 09:24:46 +00:00
2026-09-29 09:20:31 +01:00
2026-09-29 09:20:31 +01:00
2026-09-29 09:20:31 +01:00
2025-10-09 14:53:08 +02:00
2025-10-09 14:53:08 +02:00
2026-10-15 13:32:40 -05:00
2026-08-05 13:22:23 -07:00
2026-09-24 15:12:28 +03:00
2026-10-26 21:48:36 +00:00
2026-10-27 09:58:36 +00:00
2026-10-18 12:58:39 +07:00
2026-08-05 13:22:23 -07:00
2026-08-27 10:49:13 +01:00
2026-10-30 20:16:36 +00:00
2026-11-03 23:03:37 +07:00
2025-06-24 13:06:02 +02:00
2026-08-21 23:46:27 -06:00
2026-09-28 09:42:31 -05:00
2026-10-12 15:56:40 +03:00
2026-10-27 14:04:37 +03:00
2025-07-30 13:42:39 -07:00
2024-11-15 12:05:21 -06:00
2025-08-29 10:41:32 +02:00
2025-04-15 10:55:30 +02:00
2026-10-12 15:56:40 +03:00
2026-03-13 14:09:39 +00:00
2026-04-01 13:05:14 +00:00
2026-09-28 09:25:01 +00:00
2026-10-29 23:24:18 +01:00
2026-10-30 12:38:21 -05:00
2026-05-19 09:47:03 -05:00
2026-05-19 09:47:03 -05:00
2026-09-29 12:23:00 +00:00
2026-09-29 12:23:00 +00:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2026-08-10 13:23:14 -07:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2025-08-19 10:41:33 +02:00
2026-10-19 17:59:18 +03:00
2026-08-18 12:40:33 +07:00
2026-09-21 15:09:25 +02:00
2026-11-03 12:39:30 +11:00
2026-09-16 21:06:31 +05:00
2026-09-16 21:06:31 +05:00
2026-08-05 13:22:23 -07:00
2026-09-08 17:40:10 -07:00
2026-09-08 17:40:10 -07:00
2026-09-22 10:49:19 -07:00
2026-09-28 18:46:14 +00:00
2026-09-24 08:03:32 -07:00
2026-10-15 14:20:44 -05:00
2026-05-22 20:24:38 +10:00
2026-08-26 11:57:56 -06:00
2026-08-05 13:22:23 -07:00
2026-08-21 11:45:38 -05:00
2026-08-05 13:22:23 -07:00
2026-08-19 08:51:25 -05:00
2026-08-19 08:51:25 -05:00
2026-08-11 11:04:51 -05:00
2026-10-15 13:32:40 -05:00
2026-09-27 23:34:26 +02:00
2026-08-05 13:22:23 -07:00
2025-05-29 08:55:19 -05:00
2026-08-26 11:57:56 -06:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2025-09-26 11:43:32 +02:00
2026-10-29 12:53:50 +00:00
2026-10-06 02:34:46 +11:00
2026-09-11 18:13:16 -05:00
2026-10-15 17:46:05 +00:00
2024-07-24 14:11:29 +10:00
2026-01-08 15:24:11 +04:00
2026-08-05 13:22:23 -07:00
2025-06-20 13:16:55 -06:00
2026-08-05 13:22:23 -07:00
2026-09-18 10:27:26 -06:00
2026-10-23 12:53:40 +11:00
2026-09-02 09:21:36 -07:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2024-12-19 00:51:30 +04:00
2024-12-19 00:51:30 +04:00
2026-08-05 13:22:23 -07:00
2026-02-06 15:52:54 +00:00
2026-10-16 15:55:28 +00:00
2025-09-10 11:01:54 -05:00
2026-10-16 15:55:28 +00:00
2025-06-20 13:16:55 -06:00
2026-08-05 13:22:23 -07:00
2026-09-21 11:53:11 +02:00
2026-10-26 21:30:27 +01:00
2026-10-26 21:30:27 +01:00
2026-10-15 14:20:44 -05:00
2026-10-15 17:40:00 -05:00
2026-08-05 13:22:23 -07:00