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

Implement expiration date for shares #1250

Closed
1 of 7 tasks
PVince81 opened this issue Jul 2, 2020 · 11 comments
Closed
1 of 7 tasks

Implement expiration date for shares #1250

PVince81 opened this issue Jul 2, 2020 · 11 comments
Labels
Category:Enhancement Add new functionality Interaction:Needs-Concept Type:Epic Epic is the parent of user stories Type:Technical-Debt

Comments

@PVince81
Copy link
Contributor

PVince81 commented Jul 2, 2020

Expiration date of share is not yet supported in OCIS for any of the share types:

  • user
  • group
  • public link

The API test scenarios for these are currently running in CI and are in the expected-failures file.

ToDo:

This was the original post, preserved for posterity:

As I can see in the code this is not implemented yet.

As for tests, it seems most will stay disabled because we need to set some settings with occ...

  • tag the matching tests with this ticket
  • implement expiration date for user shares
  • somehow make it configurable as we have no occ in ocis yet
  • enable tests

@pmaier1 FYI for adding to the roadmap somewhere. feel free to move to another project than MVP as this is blocked by the config stuff
@individual-it FYI

@stale
Copy link

stale bot commented Jun 6, 2021

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.

@stale stale bot added the Status:Stale label Jun 6, 2021
@stale stale bot closed this as completed Jun 16, 2021
@stale stale bot removed the Status:Stale label Jun 18, 2021
@pmaier1 pmaier1 added the Category:Enhancement Add new functionality label Aug 11, 2021
@phil-davis
Copy link
Contributor

This issue specifically mentions expiration date for user shares. I think that we also want expiration dates for group shares and public link shares. I suspect that implementation for all of these will be done together.

@pmaier1 is this issue still current (or is there another issue somewhere about this)?

Do we expand this issue to also cover group shares an public link shares? Or create separate issues?

@phil-davis phil-davis self-assigned this Aug 13, 2021
@phil-davis
Copy link
Contributor

Assigned myslef so that I see this next week. This is a good example of a feature that is not implemented yet. Currently some of the related test scenarios are tagged in a way that they do not run in oCIS CI, and some are running in oCIS CI and listed in expected-failures. We need a consistent process for tagging tests.

@pmaier1
Copy link
Contributor

pmaier1 commented Aug 17, 2021

@pmaier1 is this issue still current (or is there another issue somewhere about this)?

This is still current but it is clearly a feature on the roadmap, not a bug. I'd be happy to exclude this feature from our hardening efforts and start working on it when the time has come.

@phil-davis
Copy link
Contributor

@pmaier1 should I edit the title to be "Implement expiration date for all shares" and mention the various share types in the top ost?
(i.e. make this an issue about all expiration dates)

@pmaier1
Copy link
Contributor

pmaier1 commented Aug 17, 2021

@pmaier1 should I edit the title to be "Implement expiration date for all shares" and mention the various share types in the top ost?

If I'm not mistaken, the expiration date for links feature is already implemented. If that's not the case, I agree with your proposal.

@phil-davis
Copy link
Contributor

Note:
Scenario Outline: sharing with default expiration date enabled but not enforced for groups, user shares with expiration date

That fails (and other group expiration date test scenarios)

Scenario Outline: Create a public link with default expiration date set and max expiration date enforced and access using the public WebDAV API

That also fails: apiSharePublicLink1/createPublicLinkShare.feature:652 is in the expected failures file and I can see it failing in a recent drone build.

So share expiration is not yet working for any of the share type. I will adjust the top post.

@phil-davis phil-davis changed the title Implement expiration date for user shares Implement expiration date for shares Aug 17, 2021
@pmaier1
Copy link
Contributor

pmaier1 commented Aug 17, 2021

These policies (enforce expiration date for user shares / public links) are also new features for oCIS - to be handled via the roadmap.

@stale
Copy link

stale bot commented Oct 31, 2021

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.

@stale stale bot added the Status:Stale label Oct 31, 2021
@stale stale bot closed this as completed Nov 10, 2021
@phil-davis
Copy link
Contributor

This issue is referenced in expected-failures. Reopening.

@ScharfViktor
Copy link
Contributor

expiration date for shares works correct. I close issue
The tests were removed from the expected failure file and rewritten using e2e owncloud/web#10292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality Interaction:Needs-Concept Type:Epic Epic is the parent of user stories Type:Technical-Debt
Projects
None yet
Development

No branches or pull requests

6 participants