Files
ocis/vendor/github.com
Roman PerekhodandClaude Opus 4.8 aa9aa9b454 fix: [OCISDEV-810] fix the space role and custom role checks (#12540)
* fix: [OCISDEV-810] fix the space role and custom role checks

* test: [OCISDEV-810] expect 400 when updating a share to a disabled role

The update (PATCH) permission handlers now enforce the admin role
allowlist, consistent with invite. Updating a share to a disabled role
(Secure Viewer, Denied, Space Editor Without Versions) therefore returns
400 instead of the previous silent 200. Update the @issue-10768 scenarios
to assert the new, correct behavior.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 15:13:52 +02:00
..
2024-10-18 17:35:30 +02:00
2024-10-15 17:24:52 +02:00
2025-09-04 00:09:52 +02:00
2025-09-18 10:48:59 +02:00
2023-12-12 19:29:18 +01:00
2024-10-18 17:35:30 +02:00
2024-10-18 17:35:30 +02:00
2025-09-18 10:48:59 +02:00
2026-01-19 11:04:22 +01:00
2026-02-23 17:40:18 +01:00
2026-06-30 09:35:40 +02:00
2024-10-18 17:35:30 +02:00
2024-02-21 10:20:36 +01:00
2026-06-30 09:35:40 +02:00
2024-10-18 17:35:30 +02:00
2025-07-14 11:16:42 +02:00
2025-07-07 16:29:24 +02:00
2024-03-20 14:37:01 +01:00
2024-07-30 16:14:19 +02:00
2024-10-18 17:35:30 +02:00
2026-06-30 09:35:40 +02:00
2024-05-02 12:29:54 +02:00
2026-02-23 17:40:18 +01:00
2026-05-15 13:23:55 +02:00