mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-29 23:39:35 -05:00
Implement user drive information
This commit is contained in:
committed by
Phil Davis
parent
46575abe11
commit
e15afb04d4
@@ -61,27 +61,33 @@ Feature: get users
|
||||
| displayName | id | mail | onPremisesSamAccountName |
|
||||
| Brian Murphy | %uuid_v4% | brian@example.org | Brian |
|
||||
And the user retrieve API response should contain the following drive information:
|
||||
# | driveType | personal |
|
||||
# | driveAlias | personal/brian |
|
||||
# | id | %space_id% |
|
||||
# | name | Brian Murphy |
|
||||
| driveType | personal |
|
||||
| driveAlias | personal/brian |
|
||||
| id | %space_id% |
|
||||
| name | Brian Murphy |
|
||||
| owner@@@user@@@id | %user_id% |
|
||||
# | quota@@@state | normal |
|
||||
# | root@@@id | %space_id% |
|
||||
# | root@@@webDavUrl | %base_url%/dav/spaces/%space_id% |
|
||||
# | webUrl | %base_url%/f/%space_id% |
|
||||
| quota@@@state | normal |
|
||||
| root@@@id | %space_id% |
|
||||
| root@@@webDavUrl | %base_url%/dav/spaces/%space_id% |
|
||||
| webUrl | %base_url%/f/%space_id% |
|
||||
|
||||
|
||||
# Scenario: normal user tries to get hid/her own drive information
|
||||
# Given these users have been created with default attributes and without skeleton files:
|
||||
# | username |
|
||||
# | Brian |
|
||||
# When the user "Brian" tries to get his drive information using Graph API
|
||||
# Then the HTTP status code should be "200"
|
||||
# And the user retrieve API response should contain the following information:
|
||||
# | displayName | id | mail | onPremisesSamAccountName |
|
||||
# | Brian Murphy | %uuid_v4% | brian@example.org | Brian |
|
||||
# And the response should contain the following drive information:
|
||||
# | driveType | personal |
|
||||
# | driveAlias | personal/brian |
|
||||
# | name | Brian Murphy |
|
||||
Scenario: normal user tries to get hid/her own drive information
|
||||
Given these users have been created with default attributes and without skeleton files:
|
||||
| username |
|
||||
| Brian |
|
||||
When the user "Brian" tries to get his drive information using Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the user retrieve API response should contain the following information:
|
||||
| displayName | id | mail | onPremisesSamAccountName |
|
||||
| Brian Murphy | %uuid_v4% | brian@example.org | Brian |
|
||||
And the user retrieve API response should contain the following drive information:
|
||||
| driveType | personal |
|
||||
| driveAlias | personal/brian |
|
||||
| id | %space_id% |
|
||||
| name | Brian Murphy |
|
||||
| owner@@@user@@@id | %user_id% |
|
||||
| quota@@@state | normal |
|
||||
| root@@@id | %space_id% |
|
||||
| root@@@webDavUrl | %base_url%/dav/spaces/%space_id% |
|
||||
| webUrl | %base_url%/f/%space_id% |
|
||||
|
||||
Reference in New Issue
Block a user