The received OCM storage and the ocmshares auth manager both resolved
a single gateway client at startup and kept using it. They now keep a
gateway selector and get a client per call, like the other reva
services.
related: https://github.com/opencloud-eu/reva/pull/1034
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
We bump reva to 0093d72f4c9d, the merge of
https://github.com/opencloud-eu/reva/pull/1035 on reva main. This
brings in the OCM unshare and permission change notifications, the ocm
core share events and the fixes to the permissions of OCM shares, on
top of the invite and provider fixes already on reva main.
It also pulls in the revision cleanup from
https://github.com/opencloud-eu/reva/pull/895. Its strategy defaults
to empty, which keeps all revisions, so nothing changes until we wire
up the option.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
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>