-
Notifications
You must be signed in to change notification settings - Fork 112
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
fix enforce-password issue for public links #3970
Conversation
72e2b8a
to
73c991e
Compare
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.
Just some small nitpicks as always. Rest looks 👍
internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/public.go
Outdated
Show resolved
Hide resolved
internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/shares.go
Outdated
Show resolved
Hide resolved
c85aa21
to
5da1f57
Compare
83abe2b
to
7408189
Compare
enforced = true | ||
enforced = false |
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.
IMO this is fine. In reva we can run the CI with public.password enforcement off.
In ocis CI, in the future, we will be able to run with various "system parameter" settings, and can have test scenarios that check what happens when various public.password items are enforced.
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.
As I understand we can't use the env adjustments in the reva test. We have to cover the OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD configuration the ocis tests.
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.
Yes, we now have ways to reset env variables and restart ocis during tests on ocis. So we can do that sort of thing in ocis CI. We don't have any framework to do that is reva with toml
files etc.
@2403905 is there an issue about this? |
e04d671
to
c18cfa8
Compare
The related issue owncloud/ocis#6476 owncloud/ocis#6401