Bug 40839 - timedated: Use single polkit action
Summary: timedated: Use single polkit action
Status: RESOLVED WONTFIX
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 07:47 UTC by Tomas Bzatek
Modified: 2011-09-21 12:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.