But it is not a restriction in the way that the user can't chose a date later than 7 days from now. But it is a restriction in the sense that the share link will expire not later than 7 days after the link was created.

The user can chose a expire date earlier or later than the 7 days

- If he chose a earlier date then the link will expire at the users date
- if he chose a later date then the link will expire after the X days, set by the admin, and all other shares will expire at the date set by the user.