Antoine Clausse
ba97b96815
[web] Add admin permissions modify-group-member and modify-managed-group-member (#27665)
* Add capability `modify-managed-group-member` & `modify-group-member`
* Check `modify-managed-group-member` & `modify-group-member` (backend)
* Check `modify-managed-group-member` & `modify-group-member` (frontend)
* Update tests
* Update with `ol-hasWriteAccess` flag
* Update tests
* Move functions to AdminAuthorizationHelper.js
* Update import to fix build error
* Add `ol-hasWriteAccess` to types
* Use `hasAdminAccess()` instead of `req?.user?.isAdmin`
* Add tests on `/manage/groups/:id/invites` depending on admin roles
* Reuse `UserMembershipAuthorization.hasAdminCapability`
* Fix: Add entityAccess check
* Update unit test
* Rename `hasAdminGroupMemberCapability` to `hasModifyGroupMemberCapability`
* Remove useless and redundant `hasWriteAccess` check
* Restore stub in afterEach
GitOrigin-RevId: 4b6d83751121b43d4c19d0dbd82a4833cf7a6f24
2025-08-15 08:05:57 +00:00
..
2025-07-15 08:06:23 +00:00
2025-05-28 08:05:53 +00:00
2025-08-06 08:05:05 +00:00
2023-04-12 08:04:58 +00:00
2025-02-05 09:04:58 +00:00
2025-07-03 08:05:26 +00:00
2025-02-13 09:06:07 +00:00
2025-07-08 08:06:17 +00:00
2025-08-06 08:04:57 +00:00
2025-08-15 08:05:34 +00:00
2025-08-15 08:05:57 +00:00
2022-04-15 08:03:17 +00:00
2024-09-04 08:04:48 +00:00
2025-03-07 09:05:12 +00:00
2023-02-22 09:04:42 +00:00
2025-07-15 08:05:29 +00:00
2024-02-09 09:06:51 +00:00
2025-05-21 08:06:07 +00:00
2025-06-26 08:05:10 +00:00
2025-08-14 08:06:16 +00:00
2025-07-02 08:06:01 +00:00
2022-05-27 08:03:51 +00:00
2025-06-30 08:05:52 +00:00
2024-08-22 08:05:13 +00:00
2023-10-27 08:03:10 +00:00
2022-05-30 08:03:45 +00:00
2022-04-07 08:03:46 +00:00
2025-02-28 09:05:15 +00:00
2024-09-18 08:05:00 +00:00
2022-04-25 08:05:12 +00:00
2025-06-04 08:05:42 +00:00
2022-04-25 08:05:12 +00:00
2022-09-27 08:04:00 +00:00
2022-04-15 08:03:17 +00:00
2023-10-27 08:03:10 +00:00
2025-01-20 09:04:57 +00:00
2025-06-18 08:07:05 +00:00
2023-11-17 09:03:02 +00:00
2024-06-19 08:04:21 +00:00
2025-06-04 08:07:50 +00:00
2022-09-14 08:04:03 +00:00
2024-10-14 11:05:21 +00:00
2023-12-15 09:03:27 +00:00
2023-11-10 09:04:23 +00:00
2022-04-25 08:05:12 +00:00
2022-05-12 08:03:29 +00:00
2025-03-07 09:05:50 +00:00
2025-06-03 08:05:49 +00:00
2025-06-09 08:05:17 +00:00
2025-03-24 10:48:15 +00:00
2025-07-22 08:05:56 +00:00
2025-08-14 08:06:24 +00:00