You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Sharing NG] Creating invites with expiration date does not work #8404
Creating invites with expirationDateTime in the payload does not work.
Steps to reproduce
Create an invite including an expiration date (payload: {"roles":["b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"],"expirationDateTime":"2024-02-29T23:59:59 0100","recipients":[{"objectId":"058bff95-6708-4fe5-91e4-9ea3d377588b","@libre.graph.recipient.type":"user"}]}:).
Expected behavior
The permission should be created with the given data.
Activity
rhafer commentedon Feb 8, 2024
@JammingBen Are you sure this is a valid time format? Our JSON parser doesn't like that. Bascially we accept RFC3339 timestamps.
e.g.
2024-02-29T23:59:59+01:00should work.saw-jan commentedon Feb 9, 2024
We have API test covered for sharing with expiration. Should be possible to share with expiration date
ocis/tests/acceptance/features/apiSharingNg/shareInvitations.feature
Lines 571 to 581 in ef77055
rhafer commentedon Feb 13, 2024
I don't think there's a bug here. So I am closing this. @JammingBen please re-open if you disagree.