Enable configuration for time-based authorisation, e.g. only allow access during certain times, or expire after a defined time period.
Implement an optional array of time rules?
[ { "startTime": "12:34", "endTime": "23:45", "weekdays": "1-4,7", "dates": "1-31", "months": "1-12", "action": "allow" }, { "startTime": "14:00", "endTime": "15:00, "weekdays": "2", "dates": "1-31", "months": "1-12", "action": "deny" } ]
The ruleset should be applied in totality (rather than first-match), with a deny-first policy (deny overrides allow).
Examples:
{ "startTime": "08:00", "endTime": "18:00", "weekdays": "1-5", "dates": "1-31", "months": "1-12", "action": "allow" }
{ "startTime": "18:00", "endTime": "21:00", "weekdays": "1-5", "dates": "1-31", "months": "1-12", "action": "allow" }, { "startTime": "00:00", "endTime": "23:59", "weekdays": "6-7", "dates": "1-31", "months": "1-12", "action": "allow" }
Commited into main branch and ready for testing.
Still haven't implemented time limits though.
No dependencies set.
The note is not visible to the blocked user.
Enable configuration for time-based authorisation, e.g. only allow access during certain times, or expire after a defined time period.
Implement an optional array of time rules?
The ruleset should be applied in totality (rather than first-match), with a deny-first policy (deny overrides allow).
Examples:
Commited into main branch and ready for testing.
Still haven't implemented time limits though.