Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Clarify that an app can own its app-id as subname of MPRIS bus #5582

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
Clarify that an app can own its app-id as subname of MPRIS bus
  • Loading branch information
bbhtt committed Nov 7, 2023
commit 8a8bdce6a8e56f5022dd024bed43482084e803ca
14 changes: 8 additions & 6 deletions doc/flatpak-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -721,12 +721,14 @@
</para>
<para>
The default policy for the session bus only allows the
application to own its own application ID and
subnames. For instance if the app is called
"org.my.App", it can only own "org.my.App" and
"org.my.App.*". Its also only allowed to talk to the
bus itself (org.freedesktop.DBus) and the portal APIs
APIs (bus names of the form org.freedesktop.portal.*).
application to own its own application ID, its
subnames and its own application id as a subname of
"org.mpris.MediaPlayer2". For instance if the app is called
"org.my.App", it can only own "org.my.App", "org.my.App.*"
and "org.mpris.MediaPlayer2.org.my.App".
It is only allowed to talk to names matching those patterns, plus
the bus itself (org.freedesktop.DBus)
and the portal APIs (bus names of the form org.freedesktop.portal.*).
</para>
<para>
Additionally the app is always allowed to reply to
Expand Down