Commit Graph

6 Commits

Author SHA1 Message Date
Ralf Haferkamp
d6e695076d Rework default role provisioning
This reworks the assignment of the default role at login. The assignment
now only happens if settings service is reachable and the current user
does not have an assignment yet (we check for the NotFound status).
If the settings service returns an error other than 404, the
GetUserByClaims() (and with it the authentication) will also error out.

Closes: #3900
2022-06-09 14:36:29 +02:00
Ralf Haferkamp
38127757e4 Add user autoprovisioning via libreGraph
When removing the accounts service we lost the user autoprovision
feature. This re-introduces it. When autoprovisioning is enabled (via
PROXY_AUTOPROVISION_ACCOUNTS, as in the past) accounts that are not
resolvable via cs3 will be provsioned via the libregraph API.

Closes: #3540
2022-05-24 17:39:01 +02:00
Ralf Haferkamp
d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Christian Richter
1a1a4d6a3c refactor settings 2022-04-13 17:04:37 +02:00
Christian Richter
92d76e00ab refactor proxy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00