* refactored the user creation given statement from provisioning to graph api
added getUser steps that covers the steps for user with user light role
* added userlight step tests to check drive information and updated expected failure files
* added usercreation initiation code
* deleted seperate tests for user light role
* remove unnecesary changes
* add user not initialize step
* corrected the testcode
* moved the steps from graph to provisioning file
* fix creating single ldap user
* fix: user check method
* initialize user via graph
* addressing reviews
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
* Added scenario to unassign the role of user
* Added scenario,admin tries to unassign the own role
* Addressed reviews
* refactor
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
* api test to get personal drive information of other users
* fix the broken personal drive listing
* removed scenario from expected failure after issue fixed
---------
Co-authored-by: Michael Barz <mbarz@owncloud.com>
fix php style
use the correct step
fix other steps
fix other php style
remove unwanted param
Refactor test function for handeling errors
fix return types
clean up code
address reviews
* standalone graph service with LDAP
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* no panic on PATCH and DELETE
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* fix apitoken yaml key
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* update user, fix response codes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* fix group creation return code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* remove unknown user property
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* fix create return code checks in graph feature context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* updating uses 200 OK when returning a body
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* revert user statusCreated change for now
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* revert return code changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
* Added api test for delete user using graph API
* Added scenario, admin user tries to delete another admin user
* Added scenario, delete user with username having different case
* Addressed reviews