After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652128 - add a set of working polkit policies
add a set of working polkit policies
Status: RESOLVED NOTGNOME
Product: gnome-control-center
Classification: Core
Component: User Accounts
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-08 17:37 UTC by Ionut Biru
Modified: 2011-09-19 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ionut Biru 2011-06-08 17:37:04 UTC
right now the situation is like this.

vanilla gnome doesn't work in the way was supposed to be. 

accountsservice/user panel has two types, standard and administrator but the later is not taken in consideration when using vanilla polkit. When an administrator password is needed, it will accept only root right now.

fedora already has some sane rules 
http://pkgs.fedoraproject.org/gitweb/?p=polkit.git;a=blob;f=polkit.spec;h=24a85b221c3f34694cff0fde85c8bd1b9385db23;hb=HEAD#l101

it will be nice to have working policies straight in g-c-c where all the lock buttons are and in the end it will improve the desktop usability in vanilla gnome
Comment 1 David Zeuthen (not reading bugmail) 2011-08-24 13:55:40 UTC
Sorry, but this bug report is a mess. First, this really has nothing to do the control-center - all that the c-c does is to change the account type. Toggling the account type is implemented in the accountservice project, see

 http://cgit.freedesktop.org/accountsservice/

which implements this by just toggling membership in the 'wheel' group. And as you can see this has nothing to do with polkit since e.g. sudo(8) is also affected by it. FYI, the "Wheel Group Permissions" currently shipped with Fedora will probably go into polkit proper soon.
Comment 2 Ionut Biru 2011-08-24 14:24:13 UTC
well, the logic behind reporting this feature request was that in control-center are all the actions that requires that specific polkit rule.

also last time when we talk on irc you said that distributions polkit rules doesn't belong in upstream polkit.
Comment 3 David Zeuthen (not reading bugmail) 2011-09-19 15:16:36 UTC
Filed as https://bugs.freedesktop.org/show_bug.cgi?id=41008 - hoping to get a new release out with this this week.