-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10, 3.0.10
-
Component/s: UI
-
Release Notes Summary:Start date must be different from end date when creating permissions.
-
Tags:
-
Backlog priority:500
-
Sprint:UI - 2022-8, UI - 2022-9, UI COOLDOWN - 2022-08
When creating a local permission on a document, user should not be able to select startDate and endDate as the same day. The options for endDate should start at the following day. If user selects same day for startDate and endDate, the permission starts and ends at the same time so it becomes useless.
Steps to Reproduce:
1. Login to Nuxeo Portal with Admin credentials.
2. Navigate to a Folder and click on Permission sub tab
3. Click "New" button.
4. Add the user and select any rights like "Read", "Edit" ..etc and choose time frame as “Date-based”.
4. Select from and to date as current date and click create.
5. Observe the message at bottom
Actual Result: Message at the bottom says permission created but “Permission defined locally” module doesn’t show the permission.
Expected Result: Permission created for current date should be added.
Since user gets message that the permission was created, they are expecting it to show in the UI. As startDate=endDate and both have a time of midnight, the permission has already expired and does not display in the UI.
- links to