France-ioi / AlgoreaFrontend

Front-end for the new Algorea platform
MIT License
4 stars 1 forks source link

Allow configuring can enter permission in the permission editor #1759

Closed smadbe closed 2 months ago

smadbe commented 3 months ago

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))

smadbe commented 3 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

smadbe commented 3 months ago

New proposal

There is a single switch for "entering".