Bug 40839

Summary: timedated: Use single polkit action
Product: systemd Reporter: Tomas Bzatek <bugs>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: medium CC: bugzilla
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tomas Bzatek 2011-09-13 07:47:31 UTC
For gnome-control-center's datetime panel we would like to have a single polkit action that unlocks complete functionality. Control center panels carry the Unlock button which can hold only a single polkit action.

Any other ideas how to solve this concern?

See also gnome-settings-daemon policy file: http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/datetime/org.gnome.settingsdaemon.datetimemechanism.policy.in
Comment 1 Bastien Nocera 2011-09-13 08:42:16 UTC
What's the reasoning behind using those separate policies?

Being able to set the time or the date only makes sense if you're also allowed to disable NTP. And you can change the time and date somewhat by changing the timezone.

I would have a separate policy for the Get/Set UTC, but a single one for the rest of the settings.
Comment 2 Lennart Poettering 2011-09-21 12:40:03 UTC
I figure this is obsolete now given that PK clients can now acquire privileges to multiple actions at the same time.

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.