-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[full-ci][tests-only] Check id file owner in response #6627
Conversation
36f230c
to
b82444c
Compare
💥 Acceptance test Core-API-Tests-ocis-storage-5 failed. Further test are cancelled... |
6201a7d
to
e55871d
Compare
@@ -53,6 +53,8 @@ Feature: Share a file or folder that is inside a space via public link | |||
| share_type | public_link | | |||
| displayname_owner | %displayname% | | |||
| name | <name> | | |||
| uid_file_owner | %space_id% | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uid_file_owner | %space_id% | | |
| uid_file_owner | %space_id% | |
is file owner id same as space id ? As far as i remember it is different than that of a space id. If different then we can name it something like %file_owner_id%
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be say that is different format.
getSpaceIdByName
- gives me 01e1375f-9f56-4e71-bb9f-2e750db67385$6cf15f71-7900-4f97-9e3a-69a467f56c41
uid_file_owner
- gives me spaceId but shortly 6cf15f71-7900-4f97-9e3a-69a467f56c41
space_id
- gives me spaceId in format <storageid>$<spaceid>!<opaqueid>
- 01e1375f-9f56-4e71-bb9f-2e750db67385$6cf15f71-7900-4f97-9e3a-69a467f56c41!6cf15f71-7900-4f97-9e3a-69a467f56c41
Kudos, SonarCloud Quality Gate passed! |
- ChecksumContext: | ||
- FavoritesContext: | ||
- FilesVersionsContext: | ||
- NotificationContext: | ||
- OCSContext: | ||
- PublicWebDavContext: | ||
- TrashbinContext: | ||
- WebDavPropertiesContext: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* check owner as spaceId in sharing response * fix after review
* check owner as spaceId in sharing response * fix after review
related #6606
after fixing b108482 I changed tests
uid_file_owner
=spaceId
for project space