Closed smadbe closed 2 months ago
Context: By "default" (when we haven't just created a contest for instance), there are no access, we haven't given any perm.. so we do not want the user to "enter" at all. So both from and until are at "9999-12-31T23:59:59Z" Then 3 cases:
When there is any of these options set.. then we are a 4th option, which is re-disable all entering access... so we should be able to set back to "9999-12-31T23:59:59Z" both value
There is a single switch for "entering".
When disabled: "The group/user is not allowed to explicitly enter the content with 'info' permission."
When the switch is switched "on": the "from" is set to now; and the "until" is set to the local 2099-12-31T23:59:00 (or absolute 2099-12-30T23:59:00Z if easier)
There is no date picker widget. The date format is human-readable.
Next to the date field, we add "The time is entered in your own timezone (GMT+1)" where GMT+1 is the local current timezone.
When the switch is disabled, both value are put back to "9999-12-31T23:59:59Z"
Overview
In the permission editor, it is currently not possible de configure
can_enter_*
permissions. Add this for explicit entry activities.Acceptance criteria
(edited on 26/08/24, on 28/08 (perm on giver))
isInfinite
(see existing function)farFutureDate
constant at project scope for that)backendInfiniteDate
project constant)can view
>= content" permission, the configured entering times have no effect, the group or user will be able to enter the activity at any time the activity allows it."