Relay the editor's period range

FeatureSecurityService
Ya
12 Agosti 2026, 22:25 UTC
Mwandishi
Kamo
Ahadi ya
4ed6c6c

Passthrough for GET /members/{id}/range, the period graph's read. from/to are forwarded only when present so TimecardService can resolve the member's own pay period — forwarding "?from=&to=" would bind to blank strings downstream and silently defeat that default for every org with a pay calendar. Identity is checked with resolveRole and no right, exactly as /day already does. The two requirements pull in opposite directions and a right-based gate gets only one of them: it must not become a way to read a colleague's hours, and it must admit the subject themselves holding NOTHING, because a member in the RESTRICTED tier has no rights at all and still has a statutory right to their own record. TimecardRangeAuthTest covers both directions plus the query building, because this service runs anyRequest().permitAll() with hand-rolled per-handler auth — a mapping that forgets its check is reachable from the public internet through APIService's wildcard forward.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei