Commit Graph

29 Commits

Author SHA1 Message Date
A.Unger
951a441f65 cleanup old comments 2020-11-11 15:52:13 +01:00
A.Unger
76c633e650 wip 2020-11-11 11:50:53 +01:00
Jörn Friedrich Dreyer
145671512a hide account.id in ocs api, use username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-06 17:33:43 +01:00
Jörn Friedrich Dreyer
76c63ef696 close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
f1d970145b implement add group
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
aac932b6e0 fix tons of ocs tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
fc9cdf3bc8 fix nil reference
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
f4116b2318 ocs v2 appframework quirks
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
c3d8a5bf51 ocs: allow users to look up other users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
abce279355 allow self updating
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
1e02105101 ocs: enable/disable users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
b16f0d4d2c fix typo
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
cac8f2ef04 distinguish badrequest and conflict / already exists errors
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
6f46e1bccb use the account.id as ocis userid, tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
8af7d0979e adjust tests, add stubs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
8e39d8b873 actually check permissions to fix tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
A.Unger
6cd48e711f fix linter 2020-10-22 14:22:58 +02:00
A.Unger
69ce603a83 fix failing scenario 2020-10-22 14:15:13 +02:00
A.Unger
9d4a8ac52f make list group users work with uuid and usernames 2020-10-22 13:10:06 +02:00
Benedikt Kulmann
0403264aef Fix tests for adding users to group in OCS 2020-10-22 12:44:44 +02:00
Benedikt Kulmann
1d66c22fc1 Fix other OCS group queries to use the account id instead of the username 2020-10-22 12:36:55 +02:00
A.Unger
66e6673714 fix groups endpoint 2020-10-22 12:25:43 +02:00
A.Unger
4033ba887d set account displayname fallback to userid if not present 2020-10-21 15:14:00 +02:00
Benedikt Kulmann
6d903e8f21 fix OCS tests 2020-10-21 12:26:57 +02:00
Benedikt Kulmann
0991898815 Map userid to on_premises_sam_account_name in ocs 2020-10-21 12:26:57 +02:00
Benedikt Kulmann
63bf5f6ede Fix GID in OCS AddUser response 2020-10-15 23:29:59 +02:00
A.Unger
aff4396927 ocs working 2020-09-18 15:12:18 +02:00
A.Unger
7ffaa859b3 update ocs import paths and module name 2020-09-18 12:55:52 +02:00
A.Unger
adcfca1712 Add 'ocs/' from commit '7ca52baa61c4370a1bad0e2f74e85073798bdde9'
git-subtree-dir: ocs
git-subtree-mainline: b274cac8c2
git-subtree-split: 7ca52baa61
2020-09-18 12:53:21 +02:00