Kantoor. FreeBusy
(Kantoor v1.0.0)
"Find a time": when are the attendees you invite busy on a given day.
Only users of this server who switched on "others on this server can see when
I am busy" (users.share_free_busy, default off) are visible, plus yourself.
Everybody else, whether not hosted here, not opted in, disabled or an address
shared by several users, gets the same answer: :unavailable. The result
never says why, so it cannot be used to find out who has an account or what
they chose. Only time blocks leave this module, never titles or places.
The same rule guards the DAV free/busy path (Kantoor.Dav.Post).
Summary
Functions
Busy blocks of each address on date (wall-clock times, like the calendar).
At most 20 addresses are looked at.
Whether viewer may see the busy times of the user behind address.
Types
Functions
@spec for_day(Kantoor.Accounts.Scope.t() | nil, [String.t()], Date.t()) :: [row()]
Busy blocks of each address on date (wall-clock times, like the calendar).
At most 20 addresses are looked at.
@spec visible_user(Kantoor.Accounts.User.t(), String.t()) :: {:ok, Kantoor.Accounts.User.t()} | :hidden
Whether viewer may see the busy times of the user behind address.