Skip to content

"Expiration Date" UI / database discrepancy #4823

Closed

Description

@bantu

A file/folder can be shared with other groups, users and via link (using a random token). In the oc_share table, the expiration date is per row (i.e. share / type), but the UI only allows to specify a single expiration date.

Especially the following does not work as expected:

  1. "Share with link" and "Set expiration date"
  2. "Share with group"

Actual behaviour:
The link share has an expiration date, the group share does not.

Solution a) (most flexible)
Allow setting expiration date for each share type.

Solution b)
Make sure that the single expiration date is used for all share types.

Activity

  1. karlitschek commented on Oct 18, 2013

    @karlitschek
    Contributor

    @schiesbn

  2. nickvergessen commented on Feb 19, 2014

    @nickvergessen
    Contributor

    This is even more strange:

    1. Share with a person ( 🆗 )
    2. Set expiration date ( 🆗 set for person)
    3. Share with link ( 🐛 added, but no expiration date)
    4. Set expiration date again ( 🆗 updated for both)

    So atm I would set the expiration date for both in first place and leave "adding a unique expiration date for each option" for later.

  3. nickvergessen commented on Feb 19, 2014

    @nickvergessen
    Contributor

    Okay, after some investigation. When the share item is created for the first time, the expiration date does not exist (and is alos hidden). Now when it is already available, we should also add it to the ajax call and put it into the database.

  4. added 2 commits that reference this issue on Feb 19, 2014
    0c30bc9
    e279f12
  5. added a commit that references this issue on Mar 12, 2014
    f7cfc24
  6. jancborchardt commented on Mar 12, 2014

    @jancborchardt
    Contributor

    Yeah, adding individual expiration dates would make the interface very complex and it would become difficult to comprehend. For now, there should only be the single date.

  7. added 6 commits that reference this issue on Mar 26, 2014
    fafbd11
    180676b
    e8763f0
    f068a6d
    a5cbd5e
  8. added a commit that references this issue on May 7, 2014
    cf9e83b
  9. added 2 commits that reference this issue on May 14, 2014
    9d82e8b
    ab7ae00
  10. locked as resolved and limited conversation to collaborators on Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions