accounts-service: Add polkit .rules file to stop prompting admins
When logged in as an administrator, and editing other user accounts in gnome-control-center, polkit keeps popping up authentication dialogues to read or change other users’ parental controls data. That shouldn’t be necessary since we’re an admin user, and it’s not a critical enough action to need to prompt the admin to re-authenticate to make sure they really want to make such changes. Add a .rules file to squash the polkit prompts for reading other users’ parental controls. Keep the default policy of auth_admin_keep for changing our/others’ parental controls, since that should be handled by the ‘Unlock’ button in g-c-c. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://phabricator.endlessm.com/T23897
This commit is contained in:
parent
b7ec7127c7
commit
f0bb0c9cb9
3 changed files with 39 additions and 2 deletions
3
debian/eos-parental-controls-data.install
vendored
3
debian/eos-parental-controls-data.install
vendored
|
@ -1,3 +1,4 @@
|
|||
usr/share/accountsservice/interfaces/com.endlessm.ParentalControls.AppFilter.xml
|
||||
usr/share/dbus-1/interfaces/com.endlessm.ParentalControls.AppFilter.xml
|
||||
usr/share/polkit-1/actions/com.endlessm.ParentalControls.policy
|
||||
usr/share/polkit-1/actions/com.endlessm.ParentalControls.policy
|
||||
usr/share/polkit-1/rules.d/com.endlessm.ParentalControls.rules
|
Loading…
Add table
Add a link
Reference in a new issue