Andrey Antukh
5efd9cc3c5
🐛 Prevent admins from granting owner role in team invitations ( #11099 )
...
Add role-ceiling check to create-team-invitations and
update-team-invitation-role methods. These RPC methods allowed
team admins to grant or elevate invitations to :owner role,
bypassing the protection that exists in update-team-member-role.
The fix replicates the existing check from update-team-member-role:
reject promotion to :owner when the caller is not an owner.
Closes #11098
AI-assisted-by: qwen3.7-plus
2026-08-17 11:37:51 +02:00
..
2026-05-10 09:16:41 +02:00
2026-08-05 21:54:33 +02:00
2026-08-05 17:40:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-07-31 12:04:10 +02:00
2026-08-06 10:17:14 +02:00
2026-08-05 17:44:01 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-07-31 12:06:19 +02:00
2026-05-29 11:24:58 +02:00
2026-06-02 09:33:02 +02:00
2026-08-06 20:53:58 +02:00
2026-05-29 11:24:58 +02:00
2026-08-05 21:52:59 +02:00
2026-07-31 13:19:45 +02:00
2026-07-30 07:32:02 +02:00
2026-08-06 17:05:41 +02:00
2026-07-30 07:32:02 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-08-05 17:35:59 +02:00
2026-05-29 11:24:58 +02:00
2026-08-07 11:24:24 +02:00
2026-06-15 13:04:19 +02:00
2026-08-07 11:24:24 +02:00
2026-08-13 13:15:59 +02:00
2026-06-03 14:08:10 +02:00
2026-08-05 09:41:48 +02:00
2026-08-14 09:33:58 +02:00
2026-08-10 13:43:27 +02:00
2026-08-07 13:44:13 +02:00
2026-08-07 11:24:24 +02:00
2026-05-29 11:24:58 +02:00
2026-08-17 11:37:51 +02:00
2026-06-01 12:57:39 +02:00
2026-08-05 17:42:49 +02:00
2026-07-09 19:34:15 +02:00
2026-08-05 09:41:48 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-08-17 11:21:25 +02:00