Bug 86121

Summary: Provide a polkit_authority_check_authorization() alternative with fallback
Product: PolicyKit Reporter: Miloslav Trmac <mitr>
Component: libpolkitAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED MOVED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.