Accessing certain devices like cameras might require permissions. This is handled in xdg-desktop-portal by issuing an access dialog. The backend is expected to expose the org.freedesktop.impl.portal.Access dbus interface.
TODO:
[x] Handling options, especially choices -> partially done, grant_label and deny_label should at least work
[x] Proper UI (atm just copy of exit dialog with changed message) -> Uses title,subtitle and the optional body
Accessing certain devices like cameras might require permissions. This is handled in xdg-desktop-portal by issuing an access dialog. The backend is expected to expose the org.freedesktop.impl.portal.Access dbus interface.
TODO:
options
, especiallychoices
-> partially done,grant_label
anddeny_label
should at least workProperUI (atm just copy of exit dialog with changed message) -> Usestitle
,subtitle
and the optionalbody