Files
opencloud/vendor/github.com
Jörn Friedrich Dreyer 34d5ffe173 feat(sharing): allow disabling the creation of new shares
We now have two global opt-out switches that stop users from creating
new shares while everything that already exists keeps working:

OC_DISABLE_NEW_USER_SHARES rejects new user, group and federated shares
in graph and reva. Adding members to a space is still possible: graph
skips space roots, based on the stat result, like reva does.

OC_DISABLE_NEW_PUBLIC_LINKS rejects new public links and turning an
internal link into a public link in reva.

The frontend, graph, sharing and ocm services read them. Both default
to false.

We bump reva to 37496dc6abd3, which contains
https://github.com/opencloud-eu/reva/pull/1022

Ported from `owncloud/ocis#12542`, with the flags inverted.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-17 15:36:28 +01:00
..
2024-10-18 17:35:30 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-21 09:09:59 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-21 09:09:59 +02:00
2025-09-09 15:10:28 +02:00
2023-12-12 19:29:18 +01:00
2026-04-24 14:50:00 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2024-10-18 17:35:30 +02:00
2023-04-19 20:24:34 +02:00
2025-08-21 11:01:12 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-21 09:09:59 +02:00
2023-04-19 20:24:34 +02:00
2026-06-09 17:36:19 +02:00
2026-02-05 12:29:10 +01:00
2026-08-18 15:25:23 +02:00
2024-10-18 17:35:30 +02:00
2024-02-21 10:20:36 +01:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2024-10-18 17:35:30 +02:00
2026-06-09 17:36:19 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2026-06-09 17:36:19 +02:00
2023-04-19 20:24:34 +02:00
2025-06-05 15:23:58 +02:00
2023-04-19 20:24:34 +02:00
2023-06-29 14:04:38 +02:00
2026-04-08 11:45:37 +02:00
2024-07-30 16:14:19 +02:00
2025-06-05 15:23:58 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00
2023-04-19 20:24:34 +02:00