since people have said that doing proper access control on unsandboxed-wayland i...
wicked witch of the unix @navi@social.vlhl.dev
since people have said that doing proper access control on unsandboxed-wayland isn't possible because we can't identify "apps" made me think
we can avoid needing to identify "apps" on wayland by simply encoding the set of permissions in a token, that the program requests, then the compositor does prompts or access checks; the program then saves the token somewhere, and on start-up, gives it back to the compositor
permissions that would need prompting (idle inhibit, keyboard shortcut inhibit, image-copy/screenshare) can look up if that program loaded a token where the permission was already given
compositor that don't do runtime prompts don't provide the interface, and done
we can avoid needing to identify "apps" on wayland by simply encoding the set of permissions in a token, that the program requests, then the compositor does prompts or access checks; the program then saves the token somewhere, and on start-up, gives it back to the compositor
permissions that would need prompting (idle inhibit, keyboard shortcut inhibit, image-copy/screenshare) can look up if that program loaded a token where the permission was already given
compositor that don't do runtime prompts don't provide the interface, and done