Skip to content
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

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Conversation

2403905
Copy link

@2403905 2403905 commented Jun 14, 2023

@2403905 2403905 force-pushed the issue-6476 branch 9 times, most recently from 72e2b8a to 73c991e Compare June 14, 2023 12:37
@2403905 2403905 marked this pull request as ready for review June 14, 2023 12:41
@2403905 2403905 requested review from a team, labkode, ishank011 and glpatcern as code owners June 14, 2023 12:41
Copy link
Contributor

@kobergj kobergj left a 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 👍

@2403905 2403905 force-pushed the issue-6476 branch 5 times, most recently from c85aa21 to 5da1f57 Compare June 15, 2023 13:06
.drone.env Outdated Show resolved Hide resolved
@2403905 2403905 force-pushed the issue-6476 branch 2 times, most recently from 83abe2b to 7408189 Compare June 19, 2023 15:35
enforced = true
enforced = false
Copy link
Contributor

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.

Copy link
Author

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.

Copy link
Contributor

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.

@phil-davis phil-davis requested a review from kobergj June 20, 2023 09:10
@cs3org cs3org deleted a comment from update-docs bot Jun 20, 2023
@phil-davis
Copy link
Contributor

@2403905 is there an issue about this?
If so, please put a link to it in the top comment.

@2403905 2403905 force-pushed the issue-6476 branch 2 times, most recently from e04d671 to c18cfa8 Compare June 20, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants