mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 03:40:01 -06:00
fix the bug when the expiration dates can't be removed from link permissions
This commit is contained in:
committed by
Ralf Haferkamp
parent
4b1b1c24c8
commit
fb5f29c537
6
changelog/unreleased/sharing-ng-expirationdate.md
Normal file
6
changelog/unreleased/sharing-ng-expirationdate.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: graph/drives/permission Expiration date update
|
||||
|
||||
We fixed a bug in the Update sharing permission the expiration dates can't be removed from link permissions.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/8413
|
||||
https://github.com/owncloud/ocis/issues/8405
|
||||
@@ -202,7 +202,7 @@ func (g Graph) libreGraphPermissionFromCS3PublicShare(createdLink *link.PublicSh
|
||||
}
|
||||
|
||||
func parseAndFillUpTime(t *time.Time) *types.Timestamp {
|
||||
if t == nil {
|
||||
if t == nil || t.IsZero() {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user