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

[tests-only][full-ci] Tests for checking share access after changing share role to and from "Denied" #10703

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

anon-pradip
Copy link
Contributor

@anon-pradip anon-pradip commented Dec 2, 2024

Description

  • Added new scenarios to check the share access before and after changing permission role the "Denied" role across Personal and Project spaces.
  • Used the $spaceName variable properly inside the function userShouldOrShouldNotBeAbleToDownloadFileFromSpace which was unused (was just placed in the params list) previously.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • CI
  • Locally

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@anon-pradip
Copy link
Contributor Author

This PR is subsequent to the PR: #10696. So waiting for that to be merged.

@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch 3 times, most recently from 32dd530 to 49fb121 Compare December 18, 2024 06:28
@anon-pradip
Copy link
Contributor Author

Making it ready for review now as the PR: #10696 is merged.

@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from 49fb121 to 8c29bf5 Compare December 19, 2024 04:29
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from 8c29bf5 to fa9e8d4 Compare December 19, 2024 11:13
@anon-pradip anon-pradip changed the title [tests-only][full-ci] Tests for changing share role to and from "Denied" [tests-only][full-ci] Tests for checking share access after changing share role to and from "Denied" Dec 19, 2024
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from fa9e8d4 to 8f61c83 Compare December 23, 2024 04:20
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from 8f61c83 to ce9b6e0 Compare December 23, 2024 05:53
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch 2 times, most recently from 269a596 to cebac7c Compare December 23, 2024 12:42
@anon-pradip anon-pradip requested a review from saw-jan December 23, 2024 12:42
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from cebac7c to 3776d19 Compare December 23, 2024 12:44
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from 3776d19 to 2ab353e Compare December 27, 2024 04:47
@nabim777
Copy link
Member

Is there a need to test for the public link or not?
@saw-jan @amrita-shrestha @anon-pradip

Other LGTM 👍

@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch 3 times, most recently from e11e6b3 to d6889ba Compare December 31, 2024 04:55
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch 2 times, most recently from 7b17814 to 0ce0f54 Compare December 31, 2024 06:59
@anon-pradip anon-pradip force-pushed the test/change-share-role-Denied-to-and-fro branch from 0ce0f54 to 5383e55 Compare December 31, 2024 06:59
@saw-jan
Copy link
Member

saw-jan commented Dec 31, 2024

Is there a need to test for the public link or not? @saw-jan @amrita-shrestha @anon-pradip

Other LGTM 👍

good point, added it to the list to check if it's possible
See #10656

  • Can we create a folder link share with Denied role?

@anon-pradip anon-pradip merged commit fad008f into master Jan 1, 2025
4 checks passed
@anon-pradip anon-pradip deleted the test/change-share-role-Denied-to-and-fro branch January 1, 2025 11:40
ownclouders pushed a commit that referenced this pull request Jan 1, 2025
…-to-and-fro

[tests-only][full-ci] Tests for checking share access after changing share role to and from "Denied"
ownclouders pushed a commit that referenced this pull request Jan 2, 2025
…-to-and-fro

[tests-only][full-ci] Tests for checking share access after changing share role to and from "Denied"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants