Ralf Haferkamp
f43a233795
Fix home space deletion when deleting user by name
...
DELETE requess on /graph/v1.0/users also work when specifing a user by
name. For deleting the home space in that case we need to get the User's
id from the backend first.
Fixes : #4195
2022-09-07 18:13:41 +02:00
Ralf Haferkamp
e4f9dfa40e
graph: purge home space when deleting a user
...
previously the homespace was just marked as trashed
Fixes : #4195
2022-09-07 14:25:27 +02:00
Ralf Haferkamp
29f52515e1
graph: Fix Status code when updating the password
...
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)
See #4480
2022-09-05 15:57:46 +02:00
David Christofas
2051f0d1e1
Merge pull request #4447 from dragonchaser/delete_userspace
...
Delete userspace
2022-09-02 14:41:57 +02:00
David Christofas
e36cd4fa7f
add returns after rendering errors and simplify loop condition
2022-09-02 11:54:17 +02:00
Ralf Haferkamp
a26b16c41d
graph: Add $expand=memberOf support to /me
...
Fixes : #4283
2022-08-31 07:43:27 +02:00
Christian Richter
6a9d4efef6
add delete home space permission to admin role
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-30 11:09:05 +02:00
Christian Richter
05a60fd3a5
add home space deletion on user delete
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-26 15:00:55 +02:00
Willy Kloucek
6154466bbc
rename extensions to services (leftover occurences)
2022-08-17 15:36:52 +02:00
Michael Barz
bb9903515f
fix unrestricted quota
2022-08-08 19:25:22 +02:00
Michael Barz
df8e64665b
Merge pull request #4358 from owncloud/update-graph-api
...
add expand query for personal drive
2022-08-08 17:45:12 +02:00
Michael Barz
67b52bbd55
add expand query for personal drive
2022-08-08 16:43:59 +02:00
Michael Barz
bde5d69839
add storageID to the special items, improve code
2022-08-08 16:07:19 +02:00
Michael Barz
cb7d024d89
fix listing of drives and quota
2022-08-03 12:50:00 +02:00
Michael Barz
cce04f94ff
set virtual owner on non-personal spaces
2022-08-01 12:53:24 +02:00
Christian Richter
a030459c70
incorporate requested changes
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-07-29 14:39:19 +02:00
Christian Richter
1e21e23056
add drives output
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-07-29 14:39:19 +02:00
Willy Kloucek
7cbd1ad357
make graph service events optional
2022-07-15 07:51:30 +02:00
Michael Barz
2a113e9f7d
use spaceID
2022-07-11 10:44:09 +02:00
Willy Kloucek
45f25ee845
remove unused GRAPH_SPACES_INSECURE
2022-07-07 15:29:06 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00