elementary / switchboard-plug-parental-controls

Switchboard Screen Time & Limits Plug
https://elementary.io
GNU General Public License v3.0
11 stars 14 forks source link

Fix permission when loading plugin with apps #159

Closed awissu closed 1 year ago

awissu commented 2 years ago

Hi! Malcontent parental controls asks user for password when loading the plug. Perhaps, you need these fixes.

Before:

Peek 2021-11-29 02-17

After:

Peek 2021-11-29 02-19

davidmhewitt commented 1 year ago

Hey, sorry that nobody was able to review this PR.

Similar changes were already made in https://github.com/elementary/switchboard-plug-parental-controls/pull/162 to fix the permissions in the XML.

The UID provided to Malcontent is already correct. We want to pass the UID of the user that is selected in the UI so we can change the app filter for any user. We don't want to pass the current UID as this would only allow changing the current user's app filter.

Thank you for the PR, and sorry again that it wasn't reviewed.