-
Notifications
You must be signed in to change notification settings - Fork 159
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
user and group expiration dates do influence each-other #3174
Comments
This comment has been minimized.
This comment has been minimized.
We found while working on #5806 that the CollaboratorsEditOptions on both the New and EditShare component. On the new component initially the shareTypes are empty so its always taking the smaller value because it doesn't check the shareTypes that are present once edits are made. |
Steps to reproduce
shareapi_enforce_expire_date_group_share
andshareapi_enforce_expire_date_user_share
shareapi_expire_after_n_days_group_share
to say10
shareapi_expire_after_n_days_user_share
to say20
user0
and a groupgrp1
, add the user to the groupExpected behaviour
Sharing using collaborator
user0
should provide expiration days options 20 days beyond current dayActual behaviour
Sharing using collaborator
user0
, expiration days options for only 10 days beyond current dayNote
Server configuration
latest phoenix master
latest core master
The text was updated successfully, but these errors were encountered: