-
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
Prevent creating public share for the home root folder #1265
Comments
Product decision: Going forward we want to allow this via API. Please adjust the tests accordingly. |
@pmaier1 Are we going to allow public share of the user's root folder in oC10 also? Or do we make the tests know that the expected behaviour is different on oC10 and OCIS? |
Added QA-team label so that we notice this to adjust the tests. |
No, this is only for OCIS. |
Do we also need UI tests for that? @pmaier1 should it also be possible via UI aka. phoenix? |
API test scenario is added in owncloud/core#37943 |
Currently that functionality is only for API. This ticket originally was about preventing this in OCIS because we have an oc10 test that tells so. After discussion we rather consider this as a limitation in oc10 which is why we decided to adjust the tests instead of changing the behavior. |
Removed my assignment - owncloud/core#37943 sorted out the 2 scenarios for the different behaviour. |
The core scenario is currently still failing on OCIS due to an unexpected OCS status code. When that is sorted out, maybe the rest of the checks will pass. |
This seems like a quick win, cc @micbar |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
@butonic @individual-it fixing the status code looks like a quick win |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
owncloud/core#37943 implemented separate test scenarios for this on oC10 and oCIS. On oCIS, creating a public link share of the root is allowed. The behavior on oC10 and oCIS is accepted to be different. |
in apiSharePublicLink1/createPublicLinkShare.feature scenario "Do not allow public sharing of root"
It returns 200 instead of 403
The text was updated successfully, but these errors were encountered: