Bug 86121 - Provide a polkit_authority_check_authorization() alternative with fallback
Summary: Provide a polkit_authority_check_authorization() alternative with fallback
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 18:03 UTC by Miloslav Trmac
Modified: 2018-08-20 21:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Miloslav Trmac 2014-11-10 18:03:52 UTC
With http://pkgs.fedoraproject.org/cgit/polkit.git/commit/?id=1224d7b427a507339087e2f72c481b560c85149b , and docs/polkit/overview.xml saying
> <emphasis role='bold'>DO</emphasis> make sure
> your application works even when the
> <literal>org.freedesktop.PolicyKit1</literal>
> D-Bus service is not available

libpolkit-gobject really should provide an one-stop API that implements the fallback.  We do not want dozens of applications hard-coding UID=0 and having to be individually modified to take capabilities/SELinux/whatever comes in the future into account
Comment 1 GitLab Migration User 2018-08-20 21:38:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/54.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.