malcontent-control: Imply all app-filter polkit permissions
When unlocking malcontent-control while running as an unprivileged user to edit *that* user’s parental controls, the `ChangeOwn` and `ReadOwn` privileges should also be granted. Otherwise a second polkit authorisation dialogue is popped up after editing any of the parental controls, to get permission to save the changes. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
cbc9b93348
commit
4481cf1271
|
@ -13,6 +13,6 @@
|
|||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.imply">com.endlessm.ParentalControls.AppFilter.ReadAny com.endlessm.ParentalControls.AppFilter.ChangeAny</annotate>
|
||||
<annotate key="org.freedesktop.policykit.imply">com.endlessm.ParentalControls.AppFilter.ReadAny com.endlessm.ParentalControls.AppFilter.ChangeAny com.endlessm.ParentalControls.AppFilter.ReadOwn com.endlessm.ParentalControls.AppFilter.ChangeOwn</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
|
|
Loading…
Reference in New Issue